automatic yrange - Graphics
This is a discussion on automatic yrange - Graphics ; Hello,
here is a sample of what I do
G N U P L O T
Version 4.1 patchlevel 0
last modified Sat Jul 3 00:04:32 CEST 2004
System: Darwin 8.4.0
Copyright (C) 1986 - 1993, 1998, 2004
Thomas Williams, ...
-
automatic yrange
Hello,
here is a sample of what I do
G N U P L O T
Version 4.1 patchlevel 0
last modified Sat Jul 3 00:04:32 CEST 2004
System: Darwin 8.4.0
Copyright (C) 1986 - 1993, 1998, 2004
Thomas Williams, Colin Kelley and many others
Type `help` to access the on-line reference manual.
The gnuplot FAQ is available from
http://www.gnuplot.info/faq/
Send comments and requests for help to
<gnuplot-beta@lists.sourceforge.net>
Send bugs, suggestions and mods to
<gnuplot-beta@lists.sourceforge.net>
Terminal type set to 'x11'
gnuplot> reset
gnuplot> set autoscale fix
gnuplot> plot '-'
input data ('e' ends) > 2 4
input data ('e' ends) > 5 6
input data ('e' ends) > e
gnuplot> show yrange
set yrange [ * : * ] noreverse nowriteback # (currently
[-10.0000:10.0000] )
set autoscale yfixmin
set autoscale yfixmax
gnuplot>
the plot is ok and the yrange (since I set autscale fix) is between
[4:6]
but why the "# (currently [-10.0000:10.0000] )" ??
whould it be possible to actually show the y range of the last plot?
It's automatic I coud preprocess my data to know it, but since gnupllot
calculates it...
may thanks
-
Re: automatic yrange
tv <tommaso.vinci@gmail.com> wrote:
> the plot is ok and the yrange (since I set autscale fix) is between
> [4:6] but why the "# (currently [-10.0000:10.0000] )" ??
Because that's what the default range currently is.
> whould it be possible to actually show the y range of the last plot?
No --- by the time you 'show xrange', that information is gone unless
you asked for it to be preserved. The 'writeback' option of 'set
autoscale' exists for a reason, see?
--
Hans-Bernhard Broeker (broeker@physik.rwth-aachen.de)
Even if all the snow were burnt, ashes would remain.
-
Re: automatic yrange
Hans-Bernhard Broeker wrote:
> The 'writeback' option of 'set
ok, as usual I missed some help line....
writeback!
now I repeat it 10 times a day for one week until I've learned
,-)
thanks
Similar Threads
-
By Application Development in forum Graphics
Replies: 2
Last Post: 12-03-2007, 09:58 AM
-
By Application Development in forum Graphics
Replies: 2
Last Post: 07-05-2007, 04:07 PM
-
By Application Development in forum Inetserver
Replies: 0
Last Post: 02-06-2007, 02:08 PM
-
By Application Development in forum Graphics
Replies: 3
Last Post: 12-28-2006, 12:38 PM
-
By Application Development in forum Graphics
Replies: 3
Last Post: 12-12-2005, 04:03 AM