Adds a light grey x-axis to the plot, behind the data
plotxaxis adds an x-axis to the current axes
plotxaxis(AX) adds an x-axis to the axes defined by the handle AX
NOTE: plotxaxis should be called at the end of the plotting commands, or
at least after the x-limits of the axes have been specified.
Please leave a comment if you experience any issues/bugs or if you have any suggestions for improvements.
Rodeo Ryan (2022). plotxaxis (https://www.mathworks.com/matlabcentral/fileexchange/62665-plotxaxis), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!