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


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

Re: axis range wrong in multiplot - multiplot.gp (1/1)

From Ethan A Merritt <EAMerritt@gmail.com>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: axis range wrong in multiplot - multiplot.gp (1/1)
Date 2015-03-13 19:29 -0700
Organization A noiseless patient Spider
Message-ID <me06cl$ps3$1@dont-email.me> (permalink)
References <dangela-DD8E4A.15231814032004@news6.west.earthlink.net> <c348de$n6c$1@nets3.rz.RWTH-Aachen.DE> <dd551e1a-66bf-4233-84c6-7e36d6df384e@googlegroups.com> <mdsdqd$h0g$1@dont-email.me> <6fb8de4d-a478-4bc3-944a-b836753b033a@googlegroups.com>

Show all headers | View raw


samoconnor@mac.com wrote:

> On my machine, gnuplot --version says "gnuplot 4.6 patchlevel 4".
> Does that mean its 4.6.4?
> 
> The following plot results in both y-axes having 10 at the bottom and
> 0 at the top:
> 
> set terminal png;
> set multiplot layout 2,1;
> set yrange [10:0]; plot (5);
> set yrange [0:10]; plot (5);
> 
> Adding the "noreverse" option to the second yrange fixes the problem:

Ah, I see.  That is not exactly the problem I thought you
meant.  Yes, the "reverse/noreverse" option was (IMHO) a
total mess up to and including version 4.6   It was reworked
for version 5 and now only affects autoscaling.  See the
release notes and User Manual section on "Changes in version 5".
The nutshell summary:

%%%
The reverse keyword of the set [axis]range command affects only autoscaling.
It does not invert or otherwise alter the meaning of a command such as
set xrange [0:1]. If you want to reverse the direction of the x axis in
such a case, say instead set xrange [1:0].
%%%

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


Thread

Re: axis range wrong in multiplot - multiplot.gp (1/1) samoconnor@mac.com - 2015-03-11 21:55 -0700
  Re: axis range wrong in multiplot - multiplot.gp (1/1) Ethan A Merritt <EAMerritt@gmail.com> - 2015-03-12 09:11 -0700
    Re: axis range wrong in multiplot - multiplot.gp (1/1) samoconnor@mac.com - 2015-03-12 20:03 -0700
      Re: axis range wrong in multiplot - multiplot.gp (1/1) Ethan A Merritt <EAMerritt@gmail.com> - 2015-03-13 19:29 -0700

csiph-web