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

Home » Public Forums » archive » shading in contour plots
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
shading in contour plots [message #44648] Sun, 10 July 2005 02:04 Go to previous message
c.hoyle is currently offline  c.hoyle
Messages: 3
Registered: July 2005
Junior Member
Hi,
Is it possible to create an accurate, filled contour plot with data
which does not vary smoothly?

Im trying to create a contour plot of trend data. I would like to add
some shading in a single colour to indicate where the trends are
significant, i.e. I have a 2-d array filled with 1s and 0s, and call
contour with this array and the /cell_fill keyword. If I use
levels=[1], I get a plot composed of large rectangular patches, even
though the data is rather finely gridded, and the significance is not
distributed in large rectangular areas. If I change the levels to
levels=[0.1,1.], the plot looks completely different (much larger
shaded areas), despite the fact that there are only ones and zeros in
the array I'm plotting. Anyone got an idea of what Im doing wrong
here?
Cheers,
Chris.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: validating user input
Next Topic: Re: BAR_PLOT restricted to 60 element ARRAY??

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

Current Time: Sun Oct 12 03:53:42 PDT 2025

Total time taken to generate the page: 1.84542 seconds