Draw package options



Marco Rofei escribi?:
> Is possible, using draw2d package, to fill a polygon that way?
>
> Thanks
>
> Marco Rofei

Try this:

draw2d(
    user_preamble = "set style fill pattern 5",
    fill_color  = black,
    polygon([[5,2],[9,2],[7,5]]) )$

patterns are controled by Gnuplot, and not all terminals share the same 
pattern numbering. With pattern #5 we get something close to what you 
want, and it works in terminals x11, wxt, jpg, png, gif or svg, but not 
in eps.

--
Mario