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

Home » Public Forums » archive » Re: axes on an image(FAQ?)
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: axes on an image(FAQ?) [message #3054] Tue, 08 November 1994 09:50 Go to previous message
tonym is currently offline  tonym
Messages: 14
Registered: May 1994
Junior Member
I had to do this for our global maps. I think the way I did
it was to use the plot routine. The plot routine sets up the
relationship between the physical coordinates and the screen
coordinates (note: the axis routine alone will not do this).

Use the plot routine with the /NODATA keyword to set up the
axes. Then, simply place your image within the axes. The
IDL system variables can tell you where the limits of the
graph are (both in normalized or pixels or convert using
convert_coord etc). Look at the various !p variables.
Note that you will want to make the image size match the
plot size.

As I recall, you will have to manually place the image
where you want it. This is part of the TVSCL routine:
two of the keywords can be used to specify the lower left
corner of the image (pixel units = physical coords).

-Tony
tonym@lurleen.jpl.nasa.gov
[Message index]
 
Read Message
Read Message
Previous Topic: Re: IDL on an Intel Solaris 2.x box
Next Topic: Surface fit or 3d interpolation

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

Current Time: Sat Oct 11 15:27:34 PDT 2025

Total time taken to generate the page: 0.56208 seconds