image thumbnail

axescenter

version 1.2.0.0 (4.26 KB) by Matt Fig
Puts axes in the center of a plot. Zooming, panning and some command line manipulations allowed.

11.1K Downloads

Updated 19 Feb 2009

View License

AXESCENTER(AX) puts axes in the center of axes AX. If AX is not specified, the current axes will be used. Many commonly used command line options are available to manipulate the center axes, as well as zoom and pan from the figure's menubar. See the help for a fuller description of features, and a demo.

This function relies on undocumented and unsupported properties, so it may not work on some versions of Matlab.

Tested on 2007a 2007b and 2006a.

Please email me about bugs and other concerns, and email me if this doesn't work on your version of Matlab. Thanks.

Cite As

Matt Fig (2022). axescenter (https://www.mathworks.com/matlabcentral/fileexchange/22956-axescenter), MATLAB Central File Exchange. Retrieved .

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

Inspired by: PlotAxisAtOrigin

Inspired: oaxes - central axis lines through an origin

Community Treasure Hunt

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

Start Hunting!