image thumbnail

Draw or add axes to figure

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


Updated 01 Sep 2016

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 (2021). 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!