Set Colors - Maple Help

Student

 SetColors
 set the colors of plot objects in the Student subpackages

 Calling Sequence SetColors(color1, color2, ..., color10)

Parameters

 color1, color2, ..., color10 - (optional) valid color

Description

 • The SetColors(color1, color2, ..., color10) calling sequence sets the colors of the plot objects in the Student subpackages. SetColors affects plot objects displayed using visualization routines within the worksheet interface, as well as plot objects displayed in the interactive tutors. The plots that appear use the colors specified by color1, color2, ..., color10.
 If called with no arguments, a standard color selection Maplet application is displayed.
 • SetColors returns a list of the current color settings.
 • By default, the Student subpackages use the Niagara color palette.
 • In applicable tutors, a Colors button changes the colors being used for that instance of the tutor.

Examples

 > $\mathrm{with}\left(\mathrm{Student}\right):$

Change the colors using the SetColors Maplet application.

 > $\mathrm{SetColors}\left(\right)$

Or, provide the colors as parameters.

 > $\mathrm{SetColors}\left("Black","Red","Blue"\right)$
 $\left[{"Black"}{,}{"Red"}{,}{"Blue"}{,}{"#3E578A"}{,}{"#780072"}{,}{"#00786A"}{,}{"#604191"}{,}{"#004A78"}{,}{"#784C00"}{,}{"#91414A"}{,}{"#3E738A"}{,}{"#78003B"}{,}{"#00783F"}{,}{"#914186"}{,}{"#510078"}{,}{"#777800"}\right]$ (1)
 > $\mathrm{with}\left(\mathrm{Student}\left[\mathrm{Precalculus}\right]\right):$

Display a plot with the new set of default colors.

 > $\mathrm{RationalFunctionPlot}\left(\frac{3{x}^{2}+2x-1}{x+2}\right)$