This is very short block of code to plot a presentable 1D graph. This can be incorporated in your code to make graphs, more presentable. The usage of subscript, superscript, symbols & multi-lines in titles are demostrated in this code. The same idea can be used in labels of the axes, and legends as well.
Harish Sasikumar (2020). Example: 1D graph (better looking) (https://www.mathworks.com/matlabcentral/fileexchange/50274-example-1d-graph-better-looking), MATLAB Central File Exchange. Retrieved .