Maple Student Edition
Maple Personal Edition
Maple Player for iPad
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Other Application Areas
High Schools & Two-Year Colleges
Testing & Assessment
High Performance Computing
Maple Ambassador Program
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
plots[setcolors] - set colors for 2-D plots
(optional) a non-empty list of colors, one of the following strings: "default", "Default", "Nautical", "Niagara", "Spring", "Classic", or any ColorTools palette name.
The setcolors command sets the colors for curves in 2-D plots. When multiple curves are plotted, the plotting command cycles through a default list of colors. This command allows you to see the current list or alter it.
The colors in colorlist may be color names or structures as described in the plot/color help page. The plot/colornames help page provides a list of all predefined HTML color names.
If colorlist is a non-empty list of colors, then the current list of colors is set to colorlist. If colorlist is the string "default" or "Default", then the current list of colors is reset to default colors. If colorlist is the string "Classic", then the list of colors used in Maple 15 and earlier versions is used. In all cases, the previously saved list is returned.
You can also provide any palette name understood by the ColorTools package as colorlist. The default used for 2-D plotting is the "Niagara" palette. The "Nautical" and "Spring" palettes are also recommended for plotting curves.
If you wish to use an alternative to the default palette every time you run Maple, it is recommended that you put the setcolors call in your Maple initialization file. (See maple for more information.)
If setcolors is called with no arguments, then the current list is returned unchanged.
The plots[setcolors] command was updated in Maple 16.
View the current colors.
Define a new list of colors.
Plot a set of curves with the current colors.
Set colors to the "Spring" palette, and plot a set of curves.
Reset to the default colors.
ColorTools, maple, plot, plot/color, plot/colornames, plots, plots[setoptions]
Download Help Document