Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Georg Newsgroups: comp.graphics.apps.gnuplot Subject: Re: xscale in multiplot is wrong Date: Tue, 17 Jul 2012 04:42:47 -0700 (PDT) Organization: http://groups.google.com Lines: 38 Message-ID: <8e13e3d3-3958-47dd-9529-c0bfa0086470@googlegroups.com> References: <94a8471c-efb9-41a4-9eba-c941eb3a4f96@googlegroups.com> <50053670$0$6841$e4fe514c@news2.news.xs4all.nl> NNTP-Posting-Host: 134.34.147.124 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1342525367 7751 127.0.0.1 (17 Jul 2012 11:42:47 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 17 Jul 2012 11:42:47 +0000 (UTC) In-Reply-To: <50053670$0$6841$e4fe514c@news2.news.xs4all.nl> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=134.34.147.124; posting-account=FQIsFAoAAABtkZU6DK0ZJcfrIZh5FY9_ User-Agent: G2/1.0 X-Received-Bytes: 2493 Xref: csiph.com comp.graphics.apps.gnuplot:1275 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 > > > "Georg" wrote in message > news:94a8471c-efb9-41a4-9eba-c941eb3a4f96@googlegroups.com... > > Hi folks, > > > > I wrote a gnuplot script, which gives me multiple plots in 3 rows, showing > > the x scale only at the bottom. I noticed that x is scaled incorrectly: > > in all 3 rows one peak should appear at approximately 0.2 on the xscale, > > but gnuplot's x axis doesn't reflect this: the peak is moved to smaller > > values, only for the first 2 row, though. > > > > Here is a link, to the plot. As described above, all the prominent peaks > > should be at x = 0.2. > > http://imageshack.us/photo/my-images/267/bodetxsize.jpg/ > > > > > > Any ideas on multiplot handling the x axis this way? > > Thanks! > > 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).