Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #4414

Re: How to plot x-axis tics [0 - 10 10 - 0]

Path csiph.com!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From Jörg Buchholz <bookwood4new@freenet.de>
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 <s9kov8$jup$1@dont-email.me> (permalink)
References <f3f8cc0b-8214-4a48-8bae-8d036db46db5n@googlegroups.com>
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 <f3f8cc0b-8214-4a48-8bae-8d036db46db5n@googlegroups.com>
Content-Language en-GB
Xref csiph.com comp.graphics.apps.gnuplot:4414

Show key headers only | View raw


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

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Find similar


Thread

How to plot x-axis tics [0 - 10 10 - 0] Abhi Shek <abhicool50@gmail.com> - 2021-06-04 05:05 -0700
  Re: How to plot x-axis tics [0 - 10 10 - 0] Gavin Buxton <gavinbuxton@gmail.com> - 2021-06-04 10:43 -0700
  Re: How to plot x-axis tics [0 - 10 10 - 0] Jörg Buchholz <bookwood4new@freenet.de> - 2021-06-07 11:30 +0200

csiph-web