[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Setting plot ranges
From: |
Joe Koski |
Subject: |
Re: Setting plot ranges |
Date: |
Thu, 22 Jan 2004 15:45:47 -0700 |
User-agent: |
Microsoft-Entourage/10.1.4.030702.0 |
on 1/22/04 3:25 PM, address@hidden at
address@hidden wrote:
> It's not pretty, but compare:
>
> -*-
> y = x = (0:100)';
> y(end) *= 100;
> plot (x,y);
> -*-
>
> and
>
> -*-
> x = (0:100)';
> y(end) *= 100;
> Ymax = 2*mean (y);
> graw (sprintf ("set yrange [0:%g]\n", Ymax));
> plot (x, y);
> -*-
>
>
OK, so you need to send the command to gnuplot directly, via the "back
door."
Thanks for the hint.
Joe Koski
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------
Re: Setting plot ranges, Henry F. Mollet, 2004/01/22