![]() See Also line, plot, surface, patch, Axes LineStyleOrder propert. For example, the plot function has an optional linespec argument for specifying one or more of these aspects. See the ColorSpec for more information on color.Įxamples Plot the sine function over three different ranges using different line styles, colors, and markers:Ĭreate a plot illustrating how to set line graphics properties: plot ( 0 1 2 3, '-o') Specify Combinations of Colors, Line Styles, and Markers Copy Command Many plotting functions have a single argument for specifying the color, the line style, and the marker. This is useful if you want to specific a color that is not in the list by using RGB values. In addition, you can specify the LineStyle, Color, and Marker properties instead of using the symbol string.
0 Comments
Leave a Reply. |