Suppose you have just issued the command
plot(sin(x),x=-2*Pi..2*Pi);to Maple and want to include this graph in a TeX file. Here's what you do. Make up a name for the file which will contain this graph, say "fish01.ps". Now enter
plotsetup(ps,plotoutput="fish01.ps");at the Maple prompt and execute the plot command again. This time, instead of the plot appearing in your worksheet, the PosTScripT file "fish01.ps" will be created. Now you have captured the graph of sin(x) in a PostScript file which you can view with ghostview. To learn how to include "fish01.ps" in a TeX file called "myreport.tex", for example, click here.
Note: To get Maple to go back to displaying plots on screen, enter the command
plotsetup(default);
In the case of a 3D Maple plot, you can spruce it up by setting some options, such as:
with(plots): setoptions3d(axes=FRAME,orientation=[45,45],shading=ZHUE,style=PATCHCONTOUR);and then exporting the plot to a postscript file.