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

Home » Public Forums » archive » Re: Contour Plot Issues
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: Contour Plot Issues [message #80829 is a reply to message #80826] Fri, 13 July 2012 12:33 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
ecatcom1@gmail.com writes:

> That's the big problem, though. I don't know ahead of time how my plot is going to look. I am working with someone's GUI. There's an IDL draw widget where I'm defining a region of interest, and depending on that region of interest my program computes an autocorrelation and then plots the results. So the shape of my plot will depend on the shape of the ROI, and since I'm not actually inputting numbers for this ROI but clicking and dragging in that window to create a
rectangle, I don't have a way of knowing what those dimensions are before the plot (so I can't hardcode an aspect ratio ahead of time).
> I feel like there has to be some way to define the plot size using the x range and y range that will still give me even tick spacing in both axes, or some way to just make the contour plot have those even tick spacings. I just don't know what it is :(

Well, you can continue to believe this if you like. Good
luck with this!

But, if you are the one creating the ROI, and you seem to have
some notion of the xrange and yrange, then I'd be willing to
bet some money you have enough information to set the aspect
ratio of the plot correctly. :-)

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Fastest way to list combinations
Next Topic: Re: Array Integration

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

Current Time: Fri Oct 10 23:25:51 PDT 2025

Total time taken to generate the page: 1.35905 seconds