comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: max and min values
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: max and min values [message #84398] Mon, 03 June 2013 15:53 Go to next message
David Fanning is currently offline  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 Go to previous message
Paul Van Delst[1] is currently offline  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
>
>
>
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Way to Edit Coordinates Graphically?
Next Topic: Path Preferences

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 18:49:42 PDT 2025

Total time taken to generate the page: 0.04395 seconds