setoptions - Maple Help

Home : Support : Online Help : Graphics : 2-D : Options : setoptions

plots

 setoptions
 set default options for plots

 Calling Sequence setoptions(options)

Parameters

 options - (optional) standard options accompanying PLOT structures

Description

 • This function sets global options for 2-D plots. These become default for all subsequent 2-D plots in the same Maple session. See  the plot/options help page for a list of options.
 • Calls to this function are typically put into a user initialization file such that customized options are loaded on startup.  See the mapleinit help page for details.
 • The following options cannot be set with the setoptions command: adaptive, coords, discont, filled, filledregions and sample.
 • The setoptions command allows a single value to be set for each option; lists of option values are not accepted.  To specify a list of colors for curves in a 2-D plot, use the plots[setcolors] command.

Examples

 > $\mathrm{with}\left(\mathrm{plots}\right):$
 > $\mathrm{setoptions}\left(\mathrm{title}=\mathrm{Family Plot},\mathrm{axes}=\mathrm{boxed},\mathrm{size}=\left[400,200\right]\right)$
 > $\mathrm{plot}\left(\left\{\mathrm{seq}\left(\frac{\mathrm{cos}\left(\frac{{x}^{2}+{\left(0.4i\right)}^{2}}{4}\right)}{{x}^{2}+{\left(0.4i\right)}^{2}+\mathrm{Pi}},i=1..10\right)\right\},x=-3..10\right)$