plotsetup - Maple Programming Help

Home : Support : Online Help : Graphics : 3-D : Options : plotsetup

plotsetup

set up appropriate parameters for plotting

 Calling Sequence plotsetup(DeviceType, TerminalType, options)

Parameters

 DeviceType - graphics device type; for example, gif, ps, tek, x11, bmp, or char TerminalType - (optional) specific terminal or device supporting the graphics; for example, tektronix graphics are supported under xterm, kermit, ln03, and many other terminals and printers options - each option is of the form name=value where name is one of plotdevice, plotoutput, preplot, postplot, plotoptions

Description

 • plotsetup sets the value of the five interface variables that control the device used for rendering graphics. These variables are:

 plotdevice the graphics driver to use plotoutput the file to hold the output preplot a list of integers specifying setup conditions for the graphics device postplot a list of integers specifying shutdown conditions for the graphics device plotoptions a string of comma separated values known to the graphics driver

 The special device name help will, if passed as the first argument to plotsetup, cause a list of supported plot devices to be printed.
 The plot device name $\mathrm{inline}$ is used, on appropriate user interfaces, to select inline plotting (for example, in worksheets).
 The plot device name default is used to set up plotting using the default values for the user interface being used. For details, see plot/device.
 Note: The plotsetup(gdi) command sets a device-independent graphics driver for plotting. gdi is not available in the Standard Worksheet interface or Command-Line interface.
 After specifying the device and terminal type, plotsetup accepts options controlling the values of the interface variables.  Each option is of the form name=value where name should be one of plotdevice, plotoutput, preplot, postplot, and plotoptions.
 • plotdevice specifies the type of graphics device being used. It should not normally be overridden. Note that the x11 driver is not supported on Macintosh® or from the Standard worksheet interface.
 • plotoutput specifies the output file for the device driver. The special value "terminal" specifies that output should go to the main terminal or screen if possible.
 • preplot contains a list of small integer values. Positive values are sent to the graphics output before rendering begins. When a negative value is encountered in the preplot sequence, the graphics driver pauses for the specified number of seconds. preplot is usually used to put text terminals or printers into graphics mode.
 • postplot is interpreted in the same way as preplot but the characters are sent after plotting has finished. It is typically used to return to text mode.
 • plotoptions is a string containing comma separated keywords that are recognized by the device drivers. For example, plotsetup(ps, plotoptions=color,portrait) tells the PostScript driver to perform color plotting in a portrait orientation. For a complete list of the plotoptions keywords supported for each device, see the plot/device help page.

Examples

 > $\mathrm{plotsetup}\left(\mathrm{default}\right)$
 > $\mathrm{interface}\left(\mathrm{plotdevice}\right)$
 > $\mathrm{plotsetup}\left(\mathrm{tek},\mathrm{kermit}\right)$
 > $\mathrm{plotsetup}\left(\mathrm{ps},\mathrm{plotoutput}=\mathrm{plot.ps},\mathrm{plotoptions}=\mathrm{portrait, noborder, width=1000, height=500}\right)$
 > $\mathrm{plotsetup}\left(\mathrm{x11}\right)$

In the following example, the plot appears in a separate window as a Maplet application, but not as an independently executable Maplet file.

 > $\mathrm{plotsetup}\left(\mathrm{maplet}\right)$
 > $\mathrm{plot}\left(x,x=0..1\right)$
{"ft_lang_label":"__label__en","ft_lang_prob":0.7387841,"math_prob":0.8997172,"size":3446,"snap":"2019-51-2020-05","text_gpt3_token_len":734,"char_repetition_ratio":0.15572342,"word_repetition_ratio":0.032128513,"special_character_ratio":0.18165989,"punctuation_ratio":0.12086093,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9618917,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-01-29T03:13:21Z\",\"WARC-Record-ID\":\"<urn:uuid:dd7ebc86-a896-4f62-8864-a3c55b1e48e9>\",\"Content-Length\":\"189798\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:8a3649ff-0e20-463b-85b0-2a48a1763fef>\",\"WARC-Concurrent-To\":\"<urn:uuid:7d9d82c0-bfca-49cb-9095-38227ab3d8b9>\",\"WARC-IP-Address\":\"199.71.183.28\",\"WARC-Target-URI\":\"https://de.maplesoft.com/support/help/maple/view.aspx?path=plotsetup\",\"WARC-Payload-Digest\":\"sha1:HURNNURNGK6MGAUKLXPVJ76BGAKSLZVA\",\"WARC-Block-Digest\":\"sha1:34KO4IPJMF6NYVPE4YQDWWWEOVGF7CMB\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-05/CC-MAIN-2020-05_segments_1579251783621.89_warc_CC-MAIN-20200129010251-20200129040251-00158.warc.gz\"}"}