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

Home » Public Forums » archive » trigrid + triangulate -> zero values -> ignore zeros on cgcontour
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: trigrid + triangulate -> zero values -> ignore zeros on cgcontour [message #87379 is a reply to message #87303] Wed, 29 January 2014 06:19 Go to previous messageGo to previous message
jkobori19 is currently offline  jkobori19
Messages: 8
Registered: January 2014
Junior Member
On Thursday, January 23, 2014 5:36:08 PM UTC+1, David Fanning wrote:
> jkobori19@gmail.com writes:
>
>
>
>> Actually, one more thing: when I ignore zeros, there will be less color levels on the plot, since the color corresponding to zero disappears. Is there a solution for this?
>
>
>
> Define more levels? Add a background color? Up to you, I guess. :-)
>
>
>
> Cheers,
>
>
>
> David
>
> --
>
> David Fanning, Ph.D.
>
> Fanning Software Consulting, Inc.
>
> Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
>
> Sepore ma de ni thue. ("Perhaps thou speakest truth.")

Unfortunately, defining more levels doesn't solve my problem. I would like
to set the color levels so that they ignore the zeros and the starting level would correspond to the next value in the matrix. E.g.,
the elements start from a value of 13.83, the max value is 29.98.
The color table is 33 (cgloadct, 33), so the cgcolorbar shows colors from red to blue with continous transition, but the colors on the cgcontour are only from yellow to red.
I'm sorry if the solution is actually simple, I'm just a little bit confused with these color levels.
[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
Read Message
Read Message
Previous Topic: How can I change from qwerty keyboard to azerty ?
Next Topic: How to obtain running averages for different time scales in IDL?

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

Current Time: Thu Oct 09 23:56:19 PDT 2025

Total time taken to generate the page: 0.87883 seconds