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 #79892 is a reply to message #79891] Tue, 17 April 2012 10:09 Go to previous messageGo to previous message
zolile mtumela is currently offline  zolile mtumela
Messages: 50
Registered: September 2011
Member
On Apr 17, 2:56 pm, David Fanning <n...@idlcoyote.com> wrote:
> 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.")

Thank you!!
My problem is that, we have values between(1 to 5 mHz) lets say
(2.1, 2.3,2.5,2.9,3.3,4.2,..)that correspond to these cities/mag
stations. Each and every city has their value. I want a different
color for each city and display that color at the color with their
value. With xyouts,...,color=220, displays one color in all cities on
the map. I want different for these cities and also represent using
color bar.
please help
Thanks\
Zolile
[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: Wed Oct 08 18:06:58 PDT 2025

Total time taken to generate the page: 0.00404 seconds