The four different spaceline codes are used for the plotting waveform or graph. Check this blow table, for line specification code.
Sr. No Line Name Line Specification Code [Useful in MATLAB Program]
1 Solid
2 Dotted :
3 Dashed
4 Dash-Dot -.

The syntax for plotting graph to add color, marker, and line specification:

plot (x, y, 'colour marker linespec')
These codes are placed inside single inverted comma. Now its time to implement all three essentials components (color, marker, and line specifier) for decorating the MATLAB graph.