tick2text: create easy-to-customize tick labels
by Kelly Kearney
20 Aug 2007
(Updated 30 Jun 2009)
Changes tick marks to text objects that can be easily customized, maintains customization in zooming
|
Watch this File
|
| File Information |
| Description |
This function creates text objects that mimic x, y, and z tick labels, while the original tick labels are removed. The text object format allows more modification (such as color, rotation, etc) than the original tick labels, and also allows TeX strings to be utilized in tick labels. The modifications to the tick labels are maintained during zooming and panning as well. |
| Acknowledgements |
The author wishes to acknowledge the following in the creation of this submission:
Format Tick Labels
|
| MATLAB release |
MATLAB 7.4 (R2007a)
|
| Other requirements |
Requires R2007a+ for zoom and pan |
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 02 Mar 2009 |
Added function handle input option, corrected some bugs, and added new example |
| 04 Jun 2009 |
Fixed erroneous behavior when axes are logarithmically scaled |
| 30 Jun 2009 |
Added ability to modify x,y, and z ticks for 3D axes |
|
Contact us at files@mathworks.com