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

Home » Public Forums » archive » Colorbar Formatting Issue with New IDL 8.4 Graphics
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 Formatting Issue with New IDL 8.4 Graphics [message #91587 is a reply to message #91574] Mon, 03 August 2015 14:03 Go to previous message
chris_torrence@NOSPAM is currently offline  chris_torrence@NOSPAM
Messages: 528
Registered: March 2007
Senior Member
On Thursday, July 30, 2015 at 9:12:32 AM UTC-6, elyssa.f...@noaa.gov wrote:
> I have been trying to create a colorbar to correspond to a sea level pressure anomaly map in the new IDL graphics.
> I would like the colorbar to show zero as white, as the switch between the blue (negative) and red (positive) color scheme and values.
> However, as the data range is from about -11 to 12 hPa, when I create the colorbar and place it on the map using TARGET, it does not show zero as white.
> I have tried creating a colorbar using a custom range, however when I place it on the map it uses the data range to create the colorbar.
>
> Thanks!
> Elyssa

Hi Elyssa,

Can you post some sample code showing the problem?

I assume you are using either the Image or Contour function for your actual graphics? If so, you probably want to use the RGB_TABLE property to set the actual color table for the contour (or image) so that it has the white color at the correct location within the color table. Then, when you use colorbar with "target", it should just reflect the colors in the contour/image.

Cheers,
Chris
VIS
[Message index]
 
Read Message
Read Message
Previous Topic: IDL-69024 bug fixed in v8.4?
Next Topic: Data reading

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

Current Time: Wed Oct 08 16:15:24 PDT 2025

Total time taken to generate the page: 0.00228 seconds