linestyleorder
Syntax
Description
linestyleorder(
sets the line style
order for the current figure. The line style order is the list of line styles MATLAB® uses for plotting multiple data series in the same axes.linestyles
)
linestyleorder(
specifies the line style cycling method. The line style cycling method controls how
MATLAB cycles through the line styles when you plot multiple data series in the axes.
Valid values are linestyles
,cyclingmethod
)"aftercolor"
, "beforecolor"
, and
"withcolor"
. If you omit the cycling method,
linestyleorder
uses "withcolor"
.
linestyleorder(
modifies the line style order of the target figure or axes instead of the current figure.
Specify the target as the first argument in any of the previous syntaxes.target
,___)
lso = linestyleorder(___)
returns the line style order
as a cell array of character vectors.
Examples
Input Arguments
Version History
Introduced in R2024a