File Exchange

image thumbnail

Draw or add axes to figure

version (1.45 KB) by

Super helpful way to visualize axes in a 2D figure.



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.

Comments and Ratings (1)

Kye Taylor

Kye Taylor (view profile)

t = -1:.1:1;
plot(t,t), drawAxes


Updated license


Increasing freshness

MATLAB Release
MATLAB 8.1 (R2013a)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Win prizes and improve your MATLAB skills

Play today