color xfig output ?



El lun, 28-05-2007 a las 09:59 -0400, sen1 at math.msu.edu escribi?:
> Hello,
>   Is it possible to produce a color plot output to xfig?
> 
> Actually, I need to place labels of different sizes at different
> points in a 2d plot.  If there is another way to do this, I would
> appreciate any hints.

I'm not sure if this helps to solve your problem. At this moment, you
can't control font size in package draw; but you can control label's
colors:

draw2d(explicit(u^2,u,-3,3),
       color = red,
       label("AAAAA",0,3),
       color = "#43a29f",
       label_alignment = left,
       label("BBBBB",0,7),
       terminal = eps_color)$

There is an ugly work-around if you want to specify font sizes: option
user_preamble.

draw2d(explicit(u^2,u,-3,3),
       terminal = eps_color,
       user_preamble=[
"set label 'AAAA' at 0,3 font 'Helvetica,15' textcolor rgb 'red'",
"set label 'BBBB' at 0,7 font 'Courier,50' textcolor rgb '#43a29f'"
])$

I don't know if 'user_preamble' is the right name for this option, maybe
'gnuplot_guru' ?   :)

I'll try to include font options in the next version of draw, so that
users don't need to learn the gnuplot manual.

Remember: gnuplot 4.2

-- 
Mario Rodriguez Riotorto
www.biomates.net