plot2d eps file with black lines??



On Sun, 2007-10-14 at 15:22 -0700, Edwin Woollett wrote:

> I haven't been able to create a plot2d eps file with all or separate plot 
> elements drawn with lines in the color black.

Here is a simple example, which plots sin in blue and co-sine in black:

plot2d([sin(x),cos(x)], [x,0,6], [style,[lines,1,1],[lines,1,4]],
      [gnuplot_term,ps], [gnuplot_out_file,"example.ps"])$

> ---------------
> The  console plot2d display the colors available now are
> 0=black,1=blue,2=red,3=violet,4=dark green,5=dark brown,6=medium green,
> 7=black, 8=blue, etc cyclically.  (-2=drk brn, -1=med green).
> --------------------------
I have to fix that. The problem is that gnuplot does not use the same
color in different terminals, for instance, the 4 used above in plot2d
to get black lines (code 7 in gnuplot) would give orange in an X11
terminal.

Regards,
Jaime Villate