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

Home » Public Forums » archive » Limits of custom axis
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
Limits of custom axis [message #48284] Mon, 03 April 2006 06:18
burkina is currently offline  burkina
Messages: 32
Registered: February 2005
Member
Hi,

I'm plotting an astronomical image with imcontour, suppressing two
axes:

imcontour, alog10(sm), hdr, position=pos, Levels=vals,
color=fsc_color('white'), TYPE=0,/keep_aspect, /noerase, xstyle=8,
ystyle=8, XMID=xmid, YMID=ymid

I want those two axes to show a distance in pc, instead of arcsec.
That's why I use:

axis, xaxis=1, xrange=[9.5*dist, -16.5*dist], xstyle=1, xtitle="pc",
/save,color=fsc_color('black')

where dist is the distance in pc corresponding to 1 arcsec for that
source.
The problem is that I get the numbers 9.5 and -16.5 directly by eye. I
wish I had a command which would return exactly the lower and upper
limit of the axis created by imcontour.
How can I do that?

I would also like to plot the contours in white, the ticks also in
white, but the ticknumbers in black.
All I can do now is to plot the contours in white and then call another
time imcontour with /nodata and plot the rest in black. But I would
like to draw the ticks also in white....

Thanks,

Stefano
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: display problem mac osx
Next Topic: Re IDL w/ 12-bit grayscale?

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

Current Time: Wed Oct 08 17:44:10 PDT 2025

Total time taken to generate the page: 0.00451 seconds