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 #92066 is a reply to message #92065] Tue, 06 October 2015 08:08 Go to previous messageGo to previous message
Helder Marchetto is currently offline  Helder Marchetto
Messages: 520
Registered: November 2011
Senior Member
On Tuesday, October 6, 2015 at 4:12:22 PM UTC+2, Phillip Bitzer wrote:
> On Tuesday, October 6, 2015 at 7:39:53 AM UTC-5, Helder wrote:
>> Hi,
>> I have an image where I identified regions (label_region). These regions are confining with one another as states do on a political map.
>> Can you suggest me a way to generate a colored image, so that I don't have neighboring "states" with too similar colors?
>>
>> I can fill in the array values, I just dunno where to get appropriate colors or how to chose which one gets which.
>>
>
> I always use this for help picking a palette:
>
> http://colorbrewer2.org/
>
> Sounds like you want a "qualitative" table.

Hi,
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?

Thanks,
Helder
[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:58:50 PDT 2025

Total time taken to generate the page: 0.00400 seconds