Export Maple figure to eps file

Right clicking on top of the figure using the mouse and choosing the export option does not satisfy me as the figure produced is mathematically ugly and gets rotated. Also, color information is lost.

The solution works with the plotsetup function:

plotsetup(postscript, plotoutput=`c:\\temp\\mapleplot.eps`, plotoptions=`color,portrait,height=350,width=350`);
plot(x^2,x=-5..5,axes=boxed);
plotsetup(default);

The first line of the command above will set up maple to create an output file called “mapleplot” in the “c:\temp” directory. The second line is the maple command to produce the figure. And the last command is to set up everything back.

~~LINKBACK~~

Enter your comment. Wiki syntax is allowed:
If you can't read the letters on the image, download this .wav file to get them read to you.