Path: csiph.com!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: =?UTF-8?Q?J=c3=b6rg_Buchholz?= Newsgroups: comp.graphics.apps.gnuplot Subject: Re: How to plot x-axis tics [0 - 10 10 - 0] Date: Mon, 7 Jun 2021 11:30:15 +0200 Organization: A noiseless patient Spider Lines: 29 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Mon, 7 Jun 2021 09:30:16 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="c10ffbb94f3e54ae86e00d2fae738af3"; logging-data="20441"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18NhCAjvhQIhV8u9hpKUejX9DTilwdRwbM=" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 Cancel-Lock: sha1:QNeG9YEs0QqxIil58Qy0CqdqVNk= In-Reply-To: Content-Language: en-GB Xref: csiph.com comp.graphics.apps.gnuplot:4414 On 04.06.2021 14:05, Abhi Shek wrote: > Hi All, > > I would like to have my x-axis tics marked as 0-10 and then again start decrementing from 10 - 0. > > For example, the axis should look like below. > > "0 2 4 6 8 10 8 6 4 2 0" With "multiplot" you can put two plots side by side. Example below: reset set yrange [-1:1] set y2range [-1:1] set multiplot layout 1,2 set xrange [0:10] set rmargin 0 plot sin(x) set rmargin set lmargin 0 set xrange [10:0] unset ytics set y2tics mirror plot sin(x) unset multiplot Jörg