Limits of custom axis [message #48284] |
Mon, 03 April 2006 06:18 |
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
|
|
|