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


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

Re: Distance from axes

From sfeam <sfeam@users.sourceforge.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: Distance from axes
Followup-To comp.graphics.apps.gnuplot
Date 2011-08-05 09:15 -0700
Organization gnuplot development team
Message-ID <j1h4v1$4si$1@dont-email.me> (permalink)
References <j1h0os$7to$1@dont-email.me>

Followups directed to: comp.graphics.apps.gnuplot

Show all headers | View raw


Michael wrote:

> It is often necessary that the curves on the graph were not close to
> axes. I use external tools for this: the script reads the data files,
> finds min and max on the Y axis, and writes to gnuplot file something
> like this:
> 
> $delta=($maxy-$miny)/20;
> $maxy -= $delta;
> $miny += $delta;
> print GPFILE "plot [][$miny:$maxy] ....";
> 
> Can I do this with gnuplot? 

The command you are looking for is
  set offsets


> If not, then I suggest to introduce
> something like "set ydistance=0.05", which means that the space between
> data curves and lower/upper X axis is 1/20 of data range.
> 
> Thanks

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


Thread

Distance from axes Michael <m@m.com> - 2011-08-05 22:07 +0700
  Re: Distance from axes Michael <m@m.com> - 2011-08-05 22:09 +0700
  Re: Distance from axes sfeam <sfeam@users.sourceforge.net> - 2011-08-05 09:15 -0700
    Re: Distance from axes Michael <m@m.com> - 2011-08-05 23:41 +0700

csiph-web