Show Origin

Sets the limits of axes such that the origin is shown.
85 Downloads
Updated 21 Apr 2022

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 (2024). Show Origin (https://github.com/sky-s/showorigin), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2016a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Axes Appearance in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes
1.2.0.0

On GitHub; changed case; added functionSignatures.json.

1.1.0.0

Some edge cases covered.

1.0.0.0

auto-changed title

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.