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


Groups > comp.graphics.apps.gnuplot > #2808 > unrolled thread

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

Started bysamoconnor@mac.com
First post2015-03-11 21:55 -0700
Last post2015-03-13 19:29 -0700
Articles 4 — 2 participants

Back to article view | Back to comp.graphics.apps.gnuplot

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  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

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

Fromsamoconnor@mac.com
Date2015-03-11 21:55 -0700
SubjectRe: axis range wrong in multiplot - multiplot.gp (1/1)
Message-ID<dd551e1a-66bf-4233-84c6-7e36d6df384e@googlegroups.com>
This seems to be still broken in 4.6

Sam-OConnors-MacBook-Pro-84:dump sam$ /opt/local/bin/gnuplot --version
gnuplot 4.6 patchlevel 4

(using png output)

[toc] | [next] | [standalone]


#2809

FromEthan A Merritt <EAMerritt@gmail.com>
Date2015-03-12 09:11 -0700
Message-ID<mdsdqd$h0g$1@dont-email.me>
In reply to#2808
samoconnor@mac.com wrote:

> This seems to be still broken in 4.6
> 
> Sam-OConnors-MacBook-Pro-84:dump sam$ /opt/local/bin/gnuplot --version
> gnuplot 4.6 patchlevel 4
> 
> (using png output)


I don't think that is correct.  The problem described earlier in 
this thread was fixed in 2012 and therefore the fix should have first
appeared in version 4.6.1 (Sep 2012).
Maybe you are seeing a different problem?

[toc] | [prev] | [next] | [standalone]


#2810

Fromsamoconnor@mac.com
Date2015-03-12 20:03 -0700
Message-ID<6fb8de4d-a478-4bc3-944a-b836753b033a@googlegroups.com>
In reply to#2809
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:

set terminal png;
set multiplot layout 2,1;
set yrange [10:0]; plot (5);
set yrange [0:10] noreverse; plot (5);

[toc] | [prev] | [next] | [standalone]


#2813

FromEthan A Merritt <EAMerritt@gmail.com>
Date2015-03-13 19:29 -0700
Message-ID<me06cl$ps3$1@dont-email.me>
In reply to#2810
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].
%%%

[toc] | [prev] | [standalone]


Back to top | Article view | comp.graphics.apps.gnuplot


csiph-web