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]

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 2021-06-07 11:30 +0200
Organization A noiseless patient Spider
Message-ID <s9kov8$jup$1@dont-email.me> (permalink)
References <f3f8cc0b-8214-4a48-8bae-8d036db46db5n@googlegroups.com>

Show all headers | 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