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

Home » Public Forums » archive » crazy contour
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: crazy contour [message #53838 is a reply to message #53741] Wed, 02 May 2007 10:56 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
R.G. Stockwell writes:

> Anyone have any ideas on what is going on? It almost seems
> like a bug in the contouring algorithm at the right hand edge of the plot,
> but I really don't have time to look into it any more.
> (I rotated a shade_surf command with shade= keyword and
> blanked out the zaxis labels to create a very nice facsimile of
> the contour plot I wanted.)

I presume you have XSTYLE=1 and YSTYLE=1 set, as you should
on ALL contour plots. I think the problem is that you are
looking at the "hole" in the contour plot and *thinking*
that is the problem.

http://www.dfanning.com/tips/contour_hole.html

This could probably be fixed if your levels started
with your minimum value. I would set the levels like this:

step = (Max(array) - Min(array)) / 10
levels = Indgen(10) * step + Min(array)

If that doesn't solve the problem, then I'd like to
see that array, cause I don't really believe the story. :-)

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
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: contour over a map and 180 degrees off or problems with dateline
Next Topic: emacs-snapshot and IDLWAVE

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

Current Time: Wed Dec 03 01:48:40 PST 2025

Total time taken to generate the page: 0.47861 seconds