Draw or add axes to figure

version (1.45 KB) by Kye Taylor
Super helpful way to visualize axes in a 2D figure.


Updated Thu, 01 Sep 2016 15:24:32 +0000

View License

This file will draw lines representing the horizontal and vertical axes in a two-dimensional plot on the axis identified by the input handle. If no input is provided, it uses the current figure's current axes.

Cite As

Kye Taylor (2022). Draw or add axes to figure (https://www.mathworks.com/matlabcentral/fileexchange/42135-draw-or-add-axes-to-figure), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!