Re: max and min values [message #84398] |
Mon, 03 June 2013 15:53  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
fd_luni@mail.com writes:
> There is a way to print out the maximum and minimum (Y-axis) of a plot?
Print, !Y.CRange. Or, in normalized coordinates, Print, !Y.Window.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
|
|
|
Re: max and min values [message #84582 is a reply to message #84398] |
Tue, 04 June 2013 05:27  |
Paul Van Delst[1]
Messages: 1157 Registered: April 2002
|
Senior Member |
|
|
Or in NG for a plot created like so
p = plot(x, y, ...)
p.xrange and p.yrange will display the extrema.
You can also change them, and the plot, by assigning to them.
cheers,
paulv
On 06/03/13 18:53, David Fanning wrote:
> fd_luni@mail.com writes:
>
>> There is a way to print out the maximum and minimum (Y-axis) of a plot?
>
> Print, !Y.CRange. Or, in normalized coordinates, Print, !Y.Window.
>
> Cheers,
>
> David
>
>
>
|
|
|