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

Home » Public Forums » archive » Re: Colorbar with fixed level and color
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: Colorbar with fixed level and color [message #84204 is a reply to message #81409] Mon, 06 May 2013 09:07 Go to previous message
Rosie is currently offline  Rosie
Messages: 27
Registered: September 2012
Junior Member
On Monday, September 17, 2012 1:37:34 PM UTC+1, David Fanning wrote:
> Rosie writes:
>
>
>
>> Though it ran perfectly alright in unix, but in windows
>
>> it shows: 'attempt to call undefined procedure/function
>
>> cgLoadct'. However, in windows when I put Loadct, it
>
>> accepts the command. Do you think I should reinstall IDL?
>
>
>
> No, I think you should download the most recent Coyote
>
> Library and somehow get it on your IDL path. :-)
>
>
>
> 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.")

Dear David,

It is working perfect now. Here I have few queries:

1. To match color of zero level in contour to that with colour bar, I used following commands for my plot and it is working. But colours shift in blue direction in one step.I tried with 'bottom'=2 or =1 in both cases for colourbar and table, but it is not matching together.

nl=13
level=(findgen(nl)*.5-3)
colour=(findgen(nl+1))
cgerase
cgLoadCT, 24, NColors=14, Bottom=2, /Brewer,/reverse
cgColorBar,NColors=14, bottom=1, Division=14

2. Can I simply make white on both sides of zero contour?

3. The colour you specified are really nice. But can I change those colours a bit, say for both blue or red can they be little lighter? or say can they be purple and orange?

Thanks and regards,
[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
Previous Topic: Re: Widget Hyperlink
Next Topic: IDL workbench & xquartz

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

Current Time: Wed Oct 08 15:55:36 PDT 2025

Total time taken to generate the page: 0.00401 seconds