Home > Justincase, maple > Export figures produced in Maple to eps file

Export figures produced in Maple to eps file

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.

Advertisements
Categories: Justincase, maple Tags: ,
  1. spacey
    August 28, 2009 at 1:41 pm

    incidentally, you should always use classical maple worksheet to do this, rather than the “new” one. Just try comparing file sizes produced, to see what i mean. They screwed it up real bad in the “new” worksheet format. Really annoying.

  2. ivanky
    August 29, 2009 at 12:15 am

    Yes Spacey.. I forgot to mention this. Only classical maple applies here. Somehow I don’t like all the fancy things new maple has. As my computer is really old and slow to run such a large RAM maple.

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: