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

Home » Public Forums » archive » Re: Color the points with different colors
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: Color the points with different colors [message #72806 is a reply to message #72726] Mon, 04 October 2010 23:29 Go to previous message
d.poreh is currently offline  d.poreh
Messages: 406
Registered: October 2007
Senior Member
On Oct 1, 5:24 am, David Fanning <n...@dfanning.com> wrote:
> Dave Poreh writes:
>> I have one array (1D) and I would like to color the points with
>> different colors:
>> 0.8-1.0->red
>> 0.6-0.8->..
>> 0.4-0.6->..
>> ?.
>> 0-0.2->blue
>
> If your values are regularly spaced, Histogram works.
> Here is another method for partitioning values for
> display, if your values are not regularly spaced:
>
>   http://www.dfanning.com/code_tips/partition.html
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")

Thanks David. I am also trying to do Overlay Points Source Data on a
Map of yours (http://www.dfanning.com/map_tips/ptsource.html) with IDL
8. I am sure it would be nice!
Cheers,
Dave
[Message index]
 
Read Message
Read Message
Previous Topic: Setting the IDL Path
Next Topic: Problem with initialization of location of plot when using 2 monitors

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

Current Time: Sun Oct 12 01:17:22 PDT 2025

Total time taken to generate the page: 2.24186 seconds