axescenter
by Matt Fig
11 Feb 2009
(Updated 19 Feb 2009)
Puts axes in the center of a plot. Zooming, panning and some command line manipulations allowed.
|
Watch this File
|
| File Information |
| Description |
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. |
| Acknowledgements |
The author wishes to acknowledge the following in the creation of this submission:
PlotAxisAtOrigin
This submission has inspired the following:
oaxes
|
| MATLAB release |
MATLAB 7.4 (R2007a)
|
| Other requirements |
Relies on undocumented properties. |
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 16 Feb 2009 |
Input checking to insure axes handle is passed. |
| 19 Feb 2009 |
Fixed problem of non-figure parents. |
|
Contact us at files@mathworks.com