|
From: Alessandro S. <sa...@gm...> - 2005-05-28 20:34:51
|
with the pdf terminal, the following code:
replot "$i" using
22:18:(\$18>0)?\$2:1/0:(\$18*(\$22-1)/(1-\$18)):(0):(0) notitle w
vectors filled head lt 1, \
"$i" using
22:18:(\$18==0)?\$2:1/0:(\$18*(\$22-1)/(1-\$18)):(0):(0) notitle w
vectors filled head lt 2, \
"$i" using 22:18:(\$18<0)?\$2:1/0:(\$18*(\$22-1)/(1-\$18)):(0):(0)
notitle w vectors filled head lt 3;
gives me this error:
PDFlib exception (fatal): [1108] PDF_setlinewidth: Floating-point
parameter 'width' has bad value 0.000000
with an x11 or a postscript terminal everything goes fine.
both pdf and postscript terminals were set with "enhanced color" and the
only previous command was an splot:
splot "$i" using 22:18:(\$18>0)?\$2:1/0 notitle w dots lt 1 lw 4.0, \
"$i" using 22:18:(\$18==0)?\$2:1/0 notitle w dots lt 2 lw 4.0, \
"$i" using 22:18:(\$18<0)?\$2:1/0 notitle w dots lt 3 lw 4.0;
sorry for the dollars and escaping, i'm inside a shell script as well ;-)
thank you
alessandro
|