Access Keys:
Skip to content (Access Key - 0)

How can I print Maple plots?

In the X version, you can print the active window or worksheet using the "Print" option under the File menu. If you want to print a standalone plot, you should set the plot display to go to a separate window (rather than on the worksheet), then generate the plot, and then use "Print". To set the plot display, go to the "Options" menu, select "Plot display" and choose "Window"; you can also do this from the command line by typing "plotsetup(window)" or "plotsetup(inline)".

In the TTY version, you'll need to set the plot to go to a postscript file rather than the screen; you can then print the file from Athena using lpr. The command:

	> plotsetup(postscript);

will output any subsequent plot to a file named "postscript.out" in your homedir. Or you can specify a path and file name, for example:

	> plotsetup(postscript, plotoutput=`/tmp/myplot.ps`);

If you're doing multiple plots, you'll need to specify a different file name before each one; otherwise the file will be overwritten with each plot command.

To reset Maple to show plots on the screen again, type:

	> plotsetup(default);

You can also output plots to other formats such as jpeg and gif, by specifying a "plot device" in plotsetup(). Type:

	> ?plot,device

for more details.

IS&T Contributions

Documentation and information provided by IS&T staff members


Last Modified:

February 25, 2009

Get Help

Request help
from the Help Desk
Report a security incident
to the Security Team
Labels:
olc-maple olc-maple Delete
print print Delete
maple maple Delete
plot plot Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
Feedback
This product/service is:
Easy to use
Average
Difficult to use

This article is:
Helpful
Inaccurate
Obsolete
Adaptavist Theme Builder (4.2.3) Powered by Atlassian Confluence 3.5.13, the Enterprise Wiki