Re: Contour overlay [message #36383] |
Fri, 12 September 2003 07:16 |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Smart writes:
> Let me describe a problem. I have an image and I need to overlay the
> image's contour. Here is an example of what I'm doing :
> ------
> pro test
>
> image=LoadData(12)
> window, 0, xsize=500, ysize=500
> TVIMAGE, image, pos=aspect(1.)
> CONTOUR, image, /noerase, position= aspect(1.)
>
> end
> --------
>
> But as a results I get shifted contor :( How to combine them exactly ?
> VIMAGE, LoadData and ASPECT are from D.Fanning's library.
> Could you help me ?
Ah, the ol' autoscaling axes problem! :-)
Set XSTYLE and YSTYLE keywords to 1 on your CONTOUR
command.
Cheers,
David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|