Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!usc!wuarchive!csus.edu!ucdavis!caldwr!rfinch From: rfinch@caldwr.water.ca.gov (Ralph Finch) Newsgroups: comp.lang.idl-pvwave Subject: Getting axis output ranges Message-ID: <267@locke.water.ca.gov> Date: 4 Mar 91 19:31:45 GMT Organization: Calif. Depart. of Water Resources, Sac. Lines: 21 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