plotxaxis

Adds a light grey x-axis to the plot, behind the data

You are now following this Submission

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.

Enjoy!

Cite As

Rodeo Ryan (2026). plotxaxis (https://se.mathworks.com/matlabcentral/fileexchange/62665-plotxaxis), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0