Re: creating distinct colors ...

From: <Oliver.Fuhrer_at_nyahnyahspammersnyahnyah>
Date: Mon Jul 30 2012 - 04:04:43 MDT

Dear Ufuk,

This has been discussed a lot in literature. Maybe take a look at the discussion here for inspiration...

http://stackoverflow.com/questions/470690/how-to-automatically-generate-n-distinct-colors

Cheers,
Oli

> -----Original Message-----
> From: ncl-talk-bounces@ucar.edu [mailto:ncl-talk-bounces@ucar.edu] On
> Behalf Of Ufuk Utku Turuncoglu (BE)
> Sent: Montag, 30. Juli 2012 11:22
> To: NCL USERS
> Subject: creating distinct colors ...
>
> Hi All,
>
> I want to create a array which contains a set of distinct colors. The
> only input will be a number of color and output will be a array that
> includes the color definitions (as a sting or RGB triplet). The main aim
> of mine is to use these colors in a marker plot as a marker color. In
> this case, the markers are very close together (creates a small cluster)
> and i want to use the colors to create easy to look plot. I was doing it
> before by specifying the colors manually but the number of markers are
> getting increase and it is not easy to find the distinct colors by name
> manually. So, i want to automatize this procedure. Anyway, i just wonder
> that is there any easy solution for it? Maybe new color ability (by
> using opacity of the colors) can help but i am not sure. Any suggestion
> can help.
>
> Regards,
>
> --ufuk
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Jul 30 04:05:05 2012

This archive was generated by hypermail 2.1.8 : Fri Aug 03 2012 - 14:39:58 MDT