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

Home » Public Forums » archive » Re: !x.crange and !x.tickV
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: !x.crange and !x.tickV [message #13144] Mon, 19 October 1998 00:00
Kevin Ivory is currently offline  Kevin Ivory
Messages: 71
Registered: January 1997
Member
Steve Sanders wrote:
> The fact that !x.crange stores the plot range of the last plot made is
> very convenient: it means that users can take advantage of IDL's
> built-in algorithm to calculate "nice" plot ranges without composing our
> own algrithms. If !x.tickV could similarly store the tick values for
> the last plot, that would be convenient too. Anyone know of a way to do
> that?

Try [xyz]tick_get keyword to plot:

IDL> plot, findgen(10), xtick_get=xtick, ytick_get=ytick
IDL> print,xtick
0.00000 2.00000 4.00000 6.00000 8.00000 10.0000
IDL> print,ytick
0.00000 2.00000 4.00000 6.00000 8.00000 10.0000

Best regards
Kevin
--
Kevin Ivory Tel: +49 5556 979 434
Max-Planck-Institut fuer Aeronomie Fax: +49 5556 979 240
Max-Planck-Str. 2 mailto:Kevin.Ivory@linmpi.mpg.de
D-37191 Katlenburg-Lindau, GERMANY http://www.gwdg.de/~kivory2/
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: plot, xtickname
Next Topic: Re: Matlab source code > IDL ?

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

Current Time: Fri Oct 10 03:27:01 PDT 2025

Total time taken to generate the page: 0.05592 seconds