This is a 2D vresion of Plot3AxisAtOrigin, which may be used to plot axis at origin.
Updated 22 Mar 2006

View License

Editor's Note: This file was selected as MATLAB Central Pick of the Week

PlotAxisAtOrigin Plot 2D axes through the origin. It is a 2D version of Plot3AxisAtOrigin written by Michael Robbins. Have fun!

Cite As

Shanrong Zhang (2024). PlotAxisAtOrigin (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14SP3
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Just for fun in Help Center and MATLAB Answers

Inspired by: plot3axisatorigin

Inspired: axescenter

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes