I needed to shade (solid-color / hatch) a particular area of my graph.
Is there a way to draw an arbitrary polygon in gnuplot? I saw one
could draw rectangles in the demos but my region is trapezoidal.
Worst case: Can I draw a set of line segments and then floodfill?
I plan to use a eps enhanced device. (I've noticed that a lot of the
advanced functionality is output device dependent)
Any suggestions?
Thanks!
-Rahul
You can draw arbitrary polygons as actual plots using the "with filledcurves"
style.
See:
http://gnuplot.sourceforge.net/demo/fillcrvs.html
>I plan to use a eps enhanced device. (I've noticed that a lot of the
>advanced functionality is output device dependent)
It is device dependent, yes, but most of the modern devices support
all the various new features. Just don't count on being able to
draw transparent filled histograms on an Atari [*]
[*] I don't say it couldn't be done, but the atari drivers have not
been updated in a loooong time.
--
Ethan A Merritt
> It is device dependent, yes, but most of the modern devices support
> all the various new features. Just don't count on being able to
> draw transparent filled histograms on an Atari [*]
>
> [*] I don't say it couldn't be done, but the atari drivers have not
> been updated in a loooong time.
>
> --
> Ethan A Merritt
Point taken! I must say gnuplot developers: you must be exceptionally
magnanimous to even support devices like those in today's versions.
Frankly, are there any people around who are using gnuplot on an
Atari! :-)
-Rahul