when drawing a filled circle, gnuplot gives different output between x11 terminal and latex terminal, why? -
i switched tikz gnuplot drawing math diagrams recently. find them different.
i want draw circle, created .gpi file:
set terminal latex set out 'gp.tex' set xrange [-5:5] set yrange [-5:5] set object 1 circle @ 0,0 size char 1 fillcolor rgb "black" fillstyle solid plot nan set out set terminal x11 plot nan
and loaded in gnuplot.
the circle in x11
terminal filled, expected: http://i.imgur.com/xdmlta4.png
but 1 compiled gp.tex
hollow circle: http://i.imgur.com/7lnzvmw.png
why? how can produce filled circle in tex file well?
the latex
terminal old , doesn't support filled circles. should use 1 of other latex-related terminals epslatex
, cairolatex
or tikz
support filled circles.
see output of test
command see features supported terminal. filled circles, filled polygons must supported. latex
get:
Comments
Post a Comment