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

Home » Public Forums » archive » Re: colorbar question
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 question [message #79895 is a reply to message #79892] Tue, 17 April 2012 05:56 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
zolile mtumela writes:

> I am looking for help and advices. I am plotting map showing cities. I
> would like put different colors in these cities that correspond with a
> colorbar. The cities will have some values that should be display on
> the colorbar. I red some staff on this but I am not winning, I spent
> all most a half month trying this, Please help me.
> I will have some values like this NAQ=2.2, STF=1.4, etc

You have been working on this for half a month, and it
never once occurred to you to use a COLOR keyword
on XYOUTS. Sigh... You must be a man of great
faith, my friend!

I would do a couple of things. First, I would give
your color bar a range that wasn't zero, so it would
actually appear on your display.

Then, I would byte scale the values you plan to
display in color.

Finally, I would use a COLOR keyword to indicate
which color you want to use when you write the
city name.

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.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: SVDC for EOF analysis of time series data
Next Topic: Re: Ice and Wind: Standing on the Arctic Ocean

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

Current Time: Fri Oct 10 15:13:15 PDT 2025

Total time taken to generate the page: 0.96438 seconds