Groups | Blog | Home
all groups > dotnet drawing api > april 2004 >

dotnet drawing api : Colour Scale


steven_licciardi NO[at]SPAM hotmail.com
4/29/2004 8:32:29 AM
I am drawing a contour plot, which is currently grey scale, using all
256 greys. I would like to try using colour instead, but cannot
determine a suitable color scale (for instance if I use all colours
between 0 and 16777215 it looks very bad). Can anyone suggest
possible colour scales I might use (preferabbly with of the order of
256 colours as this seems to work well with grey scale).

Thanks,

Aaron Queenan
4/29/2004 5:54:18 PM
[quoted text, click to view]

Use HSL colour, and vary the hue component across the colours of the
rainbow, while keeping the saturation and lightness the same.

Regards,
Aaron Queenan.

Bob Powell [MVP]
4/29/2004 7:28:59 PM
Good idea. I have an article for that in the GDI+ FAQ

http://www.bobpowell.net/RGBHSB.htm

--
Bob Powell [MVP]
Visual C#, System.Drawing

All you ever wanted to know about ListView custom drawing is in Well Formed.
http://www.bobpowell.net/currentissue.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/gdiplus_faq.htm

*RSS*RSS*RSS*RSS*RSS*RSS*RSS*RSS*RSS*RSS*RSS*RSS*RSS*

The GDI+ FAQ: http://www.bobpowell.net/faqfeed.xml
Windows Forms Tips and Tricks: http://www.bobpowell.net/tipstricks.xml
Bob's Blog: http://royo.is-a-geek.com/siteFeeder/GetFeed.aspx?FeedId=41

*RSS*RSS*RSS*RSS*RSS*RSS*RSS*RSS*RSS*RSS*RSS*RSS*RSS*





[quoted text, click to view]

AddThis Social Bookmark Button