{VERSION 2 3 "IBM INTEL NT" "2.3" } {USTYLETAB {CSTYLE "Maple Input" -1 0 "Courier" 0 1 255 0 0 1 0 1 0 0 1 0 0 0 0 }{CSTYLE "Hyperlink" -1 17 "" 0 1 0 128 128 1 0 0 1 0 0 0 0 0 0 }{CSTYLE "" 0 21 "" 0 1 0 0 0 1 0 0 0 0 2 0 0 0 0 }{CSTYLE "Help H eading" -1 26 "" 1 14 0 0 0 0 0 1 0 0 0 0 0 0 0 }{CSTYLE "" -1 256 "Ti mes" 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 }{PSTYLE "Normal" -1 0 1 {CSTYLE " " -1 -1 "" 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 }0 0 0 -1 -1 -1 0 0 0 0 0 0 -1 0 }} {SECT 0 {SECT 0 {PARA 0 "" 0 "" {TEXT 26 7 "Advice:" }{TEXT -1 32 " Pl otting to a file or a printer" }}{PARA 0 "" 0 "" {TEXT -1 0 "" }} {PARA 0 "" 0 "" {TEXT -1 199 "There are various ways to obtain a print ed copy of a plot, depending on your system. One convenient method is to plot into a window (use Plot Display... Window from the Options me nu, or the command " }{MPLTEXT 0 21 18 "plotsetup(window);" }{TEXT -1 350 ") and then use Print from the File menu. Alternatively, you can \+ select a plot (whether window or inline) with the mouse, copy it to th e clipboard (with Copy from the Edit menu or whatever keystrokes do th is on your system, such as Control-C), paste it into some graphics app lication, such as Paintbrush in Microsoft Windows, and print from ther e. \027" }}{PARA 0 "" 0 "" {TEXT -1 0 "" }}{PARA 0 "" 0 "" {TEXT -1 452 "One disadvantage of these methods is that, because the printed im age is just a pixel-by-pixel copy of the image on the screen, its reso lution is limited. You may notice that what should be smooth curves a nd straight lines have jagged edges. Your printer may be able to do m uch better than that. To take better advantage of its capabilities, y ou need to make a graphics file using one of the plot devices that Map le has available. See the help page " }{HYPERLNK 17 "plot,device" 2 " plot,device" "" }{TEXT -1 63 " for a description of these, as well as \+ the options available. " }}{PARA 0 "" 0 "" {TEXT -1 1 " " }}{PARA 0 " " 0 "" {TEXT -1 86 "You will need to know what types of graphics file \+ your system can print. PostScript (" }{MPLTEXT 0 21 2 "ps" }{TEXT -1 6 ") and " }{MPLTEXT 0 21 4 "hpgl" }{TEXT -1 72 " are very good choice s if your system can use them. On the other hand, " }{MPLTEXT 0 21 4 "jpeg" }{TEXT -1 5 " and " }{MPLTEXT 0 21 3 "pcx" }{TEXT -1 329 ", whi ch require Maple to construct a bitmapped image in memory, are limited in resolution. If Maple does not support a format your system can pr int, you may be able to produce one type of file and convert it to ano ther: there are many shareware and commercial products that can conver t between the various graphics file formats." }}{PARA 0 "" 0 "" {TEXT -1 0 "" }}{PARA 0 "" 0 "" {TEXT -1 190 "Generally you should first pro duce the plot you want on the screen, making sure that everything is a s it should be. Then save the plot structure by assigning it to a var iable. For example," }}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 23 "plot (x^2, x = -1 .. 1);" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 11 "mypl ot:= \":" }}}{PARA 0 "" 0 "" {TEXT -1 372 "Note the colon, to avoid ha ving Maple print out the plot structure. Now set up the plot device, \+ together with the name of the output file and any options. In particu lar, the height and width options will determine the size of the print ed output. This is given in points for PostScript output (1 inch = 72 points, 1 cm = 28.35 points), and pixels for jpeg or pcx. The " } {MPLTEXT 0 21 11 "plotoptions" }{TEXT -1 33 " string must not include \+ spaces. " }}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 76 "plotsetup(pcx, p lotoutput=`myplot.pcx`, plotoptions=`height=300,width=600`);" }}} {PARA 0 "" 0 "" {TEXT -1 110 "Now recall the plot structure from the v ariable where it was saved, and it will be printed to the output file. " }}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 7 "myplot;" }}}{PARA 0 "" 0 "" {TEXT -1 164 "The plot data may not always show up right away in th e file, because it is being cached somewhere in the system. In order \+ to close the file, switch to a different " }{MPLTEXT 0 21 10 "plotoutp ut" }{TEXT -1 28 " or a different plot device." }}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 18 "plotsetup(inline);" }}}{PARA 0 "" 0 "" {TEXT -1 48 "This goes back to inline plots in the worksheet." }}{PARA 0 "" 0 " " {TEXT -1 0 "" }}{PARA 0 "" 0 "" {TEXT -1 285 "You may find that you \+ want to adjust the sizes and styles of type for titles, axis labels an d other text in your graph, as the relative sizes may be different on \+ the screen and in printed output. You should be able to do this in th e command that produced the original plot, using the " }{MPLTEXT 0 21 9 "titlefont" }{TEXT -1 15 " (for titles), " }{MPLTEXT 0 21 8 "axesfon t" }{TEXT -1 41 " (for the numbers beside the tickmarks), " }{MPLTEXT 0 21 9 "labelfont" }{TEXT -1 27 " (for the axis labels) and " } {MPLTEXT 0 21 4 "font" }{TEXT -1 85 " (for text produced with textplot ) options. For example, you might replace the last " }{MPLTEXT 0 21 4 "plot" }{TEXT -1 16 " command with " }}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 92 "plot(x^2, x=-1..1, title=`A Parabola`, axesfont=[HELV ETICA,8], titlefont=[TIMES,ITALIC,18]);" }}}{PARA 0 "" 0 "" {TEXT -1 178 "Unfortunately, however, this does not seem to have any effect wit h most of the bitmapped plot devices. They don't even include the tit le at all. It does work with PostScript. " }}}{SECT 0 {PARA 0 "" 0 " " {TEXT 26 9 "See also:" }{TEXT -1 1 " " }{HYPERLNK 17 "Erroneous warn ing from plotsetup" 2 "Erroneous_warning_from_plotsetup" "" }{TEXT -1 2 ", " }{HYPERLNK 17 "Greek letters and other symbols in plots" 2 "Gre ek_letters_and_other_symbols_in_plots" "" }{TEXT -1 3 ", " } {HYPERLNK 17 "How To" 2 "worksheet,howto" "" }{TEXT -1 2 ", " } {HYPERLNK 17 "plot[devices]" 2 "plot,devices" "" }{TEXT -1 2 ", " } {HYPERLNK 17 "plotsetup" 2 "plotsetup" "" }{TEXT -1 2 ", " }{HYPERLNK 17 "plot[options]" 2 "plot,options" "" }{TEXT -1 2 ", " }{HYPERLNK 17 "Plotting error: no plot device driver for ..." 2 "Plotting_error:no_p lot_device_driver_for_..." "" }}}{SECT 0 {PARA 0 "" 0 "" {TEXT 26 22 " Maple Advisor Database" }{TEXT 256 18 " R. Israel, 1998" }}}}{MARK " 1 0 14" 22 }{VIEWOPTS 1 1 0 1 1 1803 }