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


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

Re: xscale in multiplot is wrong

From Georg <g.hasselberg@gmail.com>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: xscale in multiplot is wrong
Date 2012-07-17 04:42 -0700
Organization http://groups.google.com
Message-ID <8e13e3d3-3958-47dd-9529-c0bfa0086470@googlegroups.com> (permalink)
References <94a8471c-efb9-41a4-9eba-c941eb3a4f96@googlegroups.com> <50053670$0$6841$e4fe514c@news2.news.xs4all.nl>

Show all headers | View raw


On Tuesday, July 17, 2012 11:54:53 AM UTC+2, Alex van der Spek wrote:
> I presume you mean the unintended scaling is in the first two graph columns 
> only?
> 
> Impossible to say what is causing this without an actual gnuplot script.
> 
> You might want to check out the use of:
> 
> set xrange[0:1] writeback
> 
> and subsequently for other plots
> 
> set xrange restore
> 
> Regards,
> Alex van der Spek
> 
> 
> &quot;Georg&quot wrote in message 
> news:94a8471c-efb9-41a4-9eba-c941eb3a4f96@googlegroups.com...
> &gt; Hi folks,
> &gt;
> &gt; I wrote a gnuplot script, which gives me multiple plots in 3 rows, showing 
> &gt; the x scale only at the bottom. I noticed that x is scaled incorrectly:
> &gt; in all 3 rows one peak should appear at approximately 0.2 on the xscale, 
> &gt; but gnuplot&#39;s x axis doesn&#39;t reflect this: the peak is moved to smaller 
> &gt; values, only for the first 2 row, though.
> &gt;
> &gt; Here is a link, to the plot. As described above, all the prominent peaks 
> &gt; should be at x = 0.2.
> &gt; http://imageshack.us/photo/my-images/267/bodetxsize.jpg/
> &gt;
> &gt;
> &gt; Any ideas on multiplot handling the x axis this way?
> &gt; Thanks!
> &gt; Georg

Thanks for the reply! I found the mistake in the script (I was using a one function to manipulate x data in different way, but it should have been also different functions).

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


Thread

xscale in multiplot is wrong Georg <g.hasselberg@gmail.com> - 2012-07-16 08:20 -0700
  Re: xscale in multiplot is wrong "Alex van der Spek" <zdoor@xs4all.nl> - 2012-07-17 11:54 +0200
    Re: xscale in multiplot is wrong Georg <g.hasselberg@gmail.com> - 2012-07-17 04:42 -0700

csiph-web