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

Home » Public Forums » archive » Coloring labelled regions (or states)
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: Coloring labelled regions (or states) [message #92068 is a reply to message #92066] Tue, 06 October 2015 08:19 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Helder writes:

> that's a beautiful website. However, is there an easy way to automatically assign the colors?
> For instance, I chose these colors (qualitative, 9 data classes, printer friendly):
> 228,26,28
> 55,126,184
> 77,175,74
> 152,78,163
> 255,127,0
> 255,255,51
> 166,86,40
> 247,129,191
> 153,153,153
>
> How to I assign them? Is there an "ordered" way to do this or just from 1 to 9 looking at the result at the end?

"He who strives for simplicity, wastes his time." - Coyote

I'd probably try it sequentially, and if that didn't look so great, I'd
probably try a bunch of random combinations, using various seeds so I
could reproduce the results. After that...I'd assign Coyote the job. ;-)

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: formatting numbers in widget_propertysheet
Next Topic: Geometric mismatch using cgImage and cgDrawShapes

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

Current Time: Wed Oct 08 13:55:54 PDT 2025

Total time taken to generate the page: 0.00460 seconds