User Tools

Site Tools


Action disabled: source
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

Enter your comment. Wiki syntax is allowed:
   ___   __  __   ___  ______     __
  / _ | / / / /  / _ )/_  __/ __ / /
 / __ |/ /_/ /  / _  | / /   / // / 
/_/ |_|\____/  /____/ /_/    \___/
 
blog/export_maple_figure_to_eps_file.txt · Last modified: 2009-06-21 09:53 by brb