User Tools

Site Tools


blog:export_maple_figure_to_eps_file

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~~ ~~DISCUSSION~~

blog/export_maple_figure_to_eps_file.txt · Last modified: 2009/06/21 09:53 by brb