The resulting visualization from the built-in plot function can be customized in several ways. One way is by setting the look of the actual line being drawn. Customizing this part of the plot is called changing the Line Specification.


There are a few attributes of the line that can be set including the line color, style, and thickness. The following table describes many of the options available for setting the line color and style.


 Line Specifications


The line thickness can be set by using the input parameter Line Width and then specifying a point amount.



An example of how these customizations can be specified is:

plot(x,y,‘r-.’,‘Line Width’,4)

 Another way the visualization can be customized is by labeling the axes.

Receive Updates

No spam guarantee.