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

Home » Public Forums » archive » Re: Overlaying a contour on a small image
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: Overlaying a contour on a small image [message #58986 is a reply to message #58985] Fri, 29 February 2008 10:41 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Wayne Landsman writes:

> Does anyone have a routine to overlay a contour plot on a small image
> that is both accurate and aesthetically pleasing?

Isn't this what you want:

im = dist(9)
thispostion = [0.1, 0.1, 0.9, 0.9]
TVIMAGE, bytscl(im), POSITION=thisPosition, /KEEP_ASPECT_RATIO, $
/NOINTERP, /ERASE
contour,im, Position=thisPosition,/xsty,/ysty,/noerase,$
scale_vector(findgen(9), 0, 9), scale_vector(findgen(9), 0, 9)

You can find SCALE_VECTOR here:

http://www.dfanning.com/programs/scale_vector.pro

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Simple question: promptusertext method
Next Topic: Simple question: promptusertext method

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

Current Time: Fri Oct 10 09:20:04 PDT 2025

Total time taken to generate the page: 1.27926 seconds