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.
Sky Sartorius (2021). Show Origin (https://github.com/sky-s/showorigin), GitHub. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.