plot2d eps file with black lines??



Edwin Woollett escribi?:
> ulted in a blank (no pic) eps file when run as" dotest(0,1,2,6) 
> "
>  when looked at with gsview. The offending element is the "  set style line 
> 0 lc black "
> piece, because without that piece, I get normal picture displayed by 
> clicking on the eps file.
I see two problems here:
 1. apparently, indices must be greater than zero
 2. color should be quoted.

Something like this wouldn't return any error message:

set xzeroaxis; set style line 1 lc 'black'; set nokey


If you wish to give draw2d a try....


load(draw);
draw2d(
       color=black, explicit(sin(x),x,0,2*%pi),
       color=blue, explicit(sin(x - 0.2),x,0,2*%pi),
       color=red, explicit(sin(x - 0.4),x,0,2*%pi),
       terminal = eps_color);

hth

-- 
Mario Rodriguez Riotorto
www.biomates.net