|
From: John K. P. <par...@sp...> - 2007-01-19 01:32:52
|
> s there an (easy?) way to create a eps file of a multiplot-created
> plot?
As far as I'm aware, you need to set the terminal type and output
before creating the plot:
g('set terminal postscript color enhanced "Helvetica" 18')
g('set output "'+filename+'"')
...
g('set multiplot')
and then make the plot as you normally would. I close with
g("unset multiplot")
g.reset()
g('set terminal %s' % Gnuplot.GnuplotOpts.default_term)
g('set output')
though it isn't really necessary.
Gnuplot does not allow replotting (which is what hardcopy() does)
when in multiplot mode, unfortunately (if this has changed in a very
recent build, please let me know: I'm running 4.0).
If anyone else knows of a better method, I'd also be happy to hear of
it. Unfortunately, multiplot in Gnuplot can be a bit of a pain,
particularly when trying to get several stacked plots to be the same
size.
Good luck!
John
|