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 #80830 is a reply to message #80829] Fri, 13 July 2012 12:25 Go to previous messageGo to previous message
Oana Coman is currently offline  Oana Coman
Messages: 27
Registered: December 2011
Junior Member
Hi David,
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 :(


On Thursday, July 12, 2012 3:30:50 PM UTC-7, Coyote wrote:
> ecat...@gmail.com writes:
>
> > Does the aspect keyword just keep the aspect ratio of the contour plot the same?
>
> The ASPECT keyword should be used to set the aspect ratio of the plot to whatever aspect it is you want. If you want 5 units in Y and 10 units in X, then the aspect ratio of 5./10. If you have 10 units of Y and 5 units of X, then the aspect ratio you want is 10./5. You will have to decide the aspect ratio based on the X and Y ranges of your plot. In your original post, you had these the same, so I suggested an aspect ratio of 1.0.
>
> Cheers,
>
> David
[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 15:08:08 PDT 2025

Total time taken to generate the page: 0.08285 seconds