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

Home » Public Forums » archive » 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 #3137 is a reply to message #3064] Tue, 08 November 1994 15:13 Go to previous message
meo is currently offline  meo
Messages: 6
Registered: November 1994
Junior Member
||Using IDL, I want to have a color image, using tvscl. How do I put axes on the
||image? (axes should be on edge of image, to indicate location).
||Thus, for an image of 450*480 , I want to put an axis, with the
||x axis going linearly from 0 to 450, and the y axis going in log scale from

Regarding this, First of all, keep track of the position of the Bottom half of the
image is w.r.t the device (ex:tvscl,image,xpos,ypos)

Then typing:
contour,image,xx,yy,pos=[xstart,ystart,xfin,yfin],/nodata,/d evice,/noerase $
,YST=1,XST=1,TICKLEN=-0.03

you generate your own xx & yy array as you want. POS is array for the position of the
contour. The rest of the keywords are the reference book (P.2-2 of ver 3.5)
Try it out, It worked for me!

Good luck

Fern..
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: IDL on DEC 3000
Next Topic: Re: How to record IDL animations to MPEG?

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

Current Time: Wed Dec 03 06:54:11 PST 2025

Total time taken to generate the page: 0.96293 seconds