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

Home » Public Forums » archive » Getting axis output ranges
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Getting axis output ranges [message #12] Mon, 04 March 1991 11:31
rfinch is currently offline  rfinch
Messages: 51
Registered: March 1991
Member
I need to get the actual (rounded) axis range of a second axis. The
code fragment:

plot,xrange=[0,max_nvals], yrange=[ymin1,ymax1], $
good_valsx,values(good_vals),nsum=npts, ystyle=8, $
title=ptitle, ytitle=all_c_parts(1),subtitle=f_part, xmargin=xmrgn,$
xtickname=tick_lbl,xticks=nticks-1,xtickv=tick_vals, linestyle=np
top1=!y.crange(1)
bot1=!y.crange(0)
axis, yaxis=1, yrange=[ymin2,ymax2], ytitle=all_c_parts(1)
top2=!y.crange(1)
bot2=!y.crange(0)

What I want is to save the range values of the second axis, generated
with the 'axis' command. Unfortunately the above doesn't work. Has
anybody figured this out?
--
Ralph Finch 916-445-0088
rfinch@water.ca.gov ...ucbvax!ucdavis!caldwr!rfinch
Any opinions expressed are my own; they do not represent the DWR
[Message index]
 
Read Message
Previous Topic: comparing arrays
Next Topic: Re: NCAR graphics <-> PV-WAVE/IDL

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

Current Time: Tue Mar 31 02:16:32 PDT 2026

Total time taken to generate the page: 0.30722 seconds