many colors in draw2d



Dnia Mon, 19 Jul 2010 01:33:46 -0400, Sheldon Newhouse napisa?(a):

> Hello,
>   How do I get many different colors of simple 2d plots?
> 
> For instance, I want to plot the parabola y=x^2 for -1 <=x <=1 in colors
> such as light red, dark red, light blue, dark blue, etc.
> 
>  From the examples for paletter, etc. , I can make xpm files and read
> them in, but isn't there a simpler way?
> 
> TIA,
>   -sen

If you use draw2d it means you want to use gnuplot to make plots. 
Maybe in gnuplot type :
help colorspec
( how to modify line style/color)

HTH

Adam