This is an example of how to customize axes settings in a plot in MATLAB®.
Read about the "XAxis" property in the MATLAB documentation. This feature is available in R2015b or newer.
For more examples, go to MATLAB Plot Gallery - http://www.mathworks.com/discovery/gallery.html
MathWorks Plot Gallery Team (2020). MATLAB Plot Gallery - Customize Axes Settings (https://www.mathworks.com/matlabcentral/fileexchange/63459-matlab-plot-gallery-customize-axes-settings), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!