Hi Tony,
You could use the EPS Writer
http://rsb.info.nih.gov/ij/plugins/eps-writer.htmlI fear that you won't be happy with it, however:
The Plot Window uses pixel graphics. If you want to include
your plot into any document to be printed or converted to PDF,
you should have vector graphics.
Therefore, it is much better to export the plot values as text
and use a program such as gnuplot:
http://www.gnuplot.info/With gnuplot, you can get eps output with
"set terminal postscript eps".
It should be possible to control gnuplot from a macro using the
exec macro function of ImageJ.
Michael
________________________________________________________________
On 12 Oct 2007, at 13:13, Tony Shepherd wrote:
> I have a plugin that outputs graphs (PlotWindow objects) to the
> screen using
> PlotWindow.show(). There's no method in PlotWindow to save these
> figures -
> in particular I want an encapsulated postscript (eps) file.
>
> Currently I am saving the plots as text PlotWindow.saveAsText(), then
> importing to another program that lets me save out as .eps.
>
> Is there a better way?
>
> thanks