Archive

Archive for the ‘maple’ Category

Export figures produced in Maple to eps file

March 11, 2009 2 comments

Found the following tips during my PhD candidature. We now can export figures produced in Maple (any versions) to an eps file.

Right clicking on top of the figure using the mouse and choosing the export option do not satisfy me as the figure produced is mathematically ugly.

> plotsetup(postscript, plotoutput=`square_of_x.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 “square_of_x.eps” in the directory where this maple file located. The second line is the maple command to produce the figure. And the last command is to set up everything back.

Categories: Justincase, maple Tags: ,