File Exchange

image thumbnail

Show Origin

version (2.69 KB) by Sky Sartorius
Sets the limits of axes such that the origin is shown.


Updated 16 May 2021

From GitHub

View Version History

View license on GitHub

showorigin sets the limits of the current axes such that the origin is shown.

showorigin x (or showorigin('x')) adjusts only the x axis, showorigin y adjusts only the y axis, showorigin zx adjusts only the x and z axes, etc.

Works on reversed, all-negative, or log-scale axes (in the case of the latter converting to linear scale).

showorigin(ax,___) adjusts the axes specified by axes handle ax.

Cite As

Sky Sartorius (2021). Show Origin (, GitHub. Retrieved .

Comments and Ratings (0)

MATLAB Release Compatibility
Created with R2016a
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!