Specify Plot Colors - MATLAB & Simulink
www.mathworks.com › help › matlabSpecify Plot Colors MATLAB ® creates plots using a default set of colors. The default colors provide a clean and consistent look across the different plots you create. You can customize the colors if you need to. Many plotting functions have an input argument such as c or colorspec for customizing the color.
Matlab Plot Colors and Styles - Tutorial45
tutorial45.com › matlab-plot-colors-and-stylesApr 08, 2020 · Matlab plotting line style. Just like it is to change the color of your plot in Matlab, the same goes for changing the line style, increasing the thickness of the line or some other aspect of it. Let’s go ahead a plot the following code. x=-100:0.5:100; y=x.^5-x.^2; plot(x,y,'--r') And the plot will be. or. x=-100:0.5:100; y=x.^5-x.^2; plot(x ...