File Exchange

image thumbnail

Show Origin

version by Sky Sartorius
Sets the limits of axes such that the origin is shown.


Updated 21 Apr 2017

GitHub 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 (2020). Show Origin (, GitHub. Retrieved .

Comments and Ratings (0)


On GitHub; changed case; added functionSignatures.json.

Some edge cases covered.

auto-changed title

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