Hi, I am seeing an issue the cairolatex terminal. After the first object
circle is placed on the canvas, the fillcolor is ignored and set to the
default (black). This does not happen for the pdfcairo terminal.
Here is a script to demonstrate:
set macros
set terminal push
set terminal cairolatex pdf color
set style fill solid 1.0
set xrange [0:5]; set yrange [0:5]
plotcmd="plot 1/0; set terminal pop; set terminal push; replot;"
c=0;
circle(x,y)=sprintf("c=c+1; set object c circle at %g,%g size 0.1
fillstyle fillcolor rgbcolor 'red';",x,y);
eval circle(1,1);
eval circle(1,2);
eval circle(1,3);
# cl.pdf will have one red and 2 black circles
set output 'cl.ltx'
@plotcmd
set terminal pdfcairo color
c=0;
eval circle(1,1);
eval circle(1,2);
eval circle(1,3);
# clf.pdf has all three red circles
set output 'clf.pdf'
@plotcmd
--
Leo Butler l_butler@...
SDF Public Access UNIX System - http://sdf.lonestar.org
|