Show Origin
                    Version 1.2.0.0 (2.7 KB) by  
                  Sky Sartorius
                
                
                  Sets the limits of axes such that the origin is shown.
                
                  
                  
              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 (2025). Show Origin (https://github.com/sky-s/showorigin), GitHub. Retrieved .
MATLAB Release Compatibility
              Created with
              R2016a
            
            
              Compatible with any release
            
          Platform Compatibility
Windows macOS LinuxCategories
      Find more on Axes Appearance in Help Center and MATLAB Answers
    
  Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
  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.