Transform Axes units to Normalized Units for Annotation Objects
by girish ratanpal
10 Aug 2005
(Updated 09 Jan 2006)
Transforms axes units to normalized units for annotation objects.
|
Watch this File
|
| File Information |
| Description |
The annotation() function in MATLAB requires the X and Y coordinates for the object in normalized units. However, to accurately place objects, (without using GUI) we would like to give the annotation function the coordinates in terms of the current axes. This function transforms the axes coordinates that you enter, into normalized units that can be conveniently used in the annotation function. |
| MATLAB release |
MATLAB 7 (R14)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (4) |
| 22 Jan 2006 |
Tim Toolan
|
|
|
| 10 Feb 2006 |
David Mays
|
|
|
| 31 Oct 2006 |
Jan van Hulzen
|
|
|
| 12 Jan 2007 |
Mark Harrington
|
|
|
| Updates |
| 15 Aug 2005 |
The function now works for both log an linear scales and also for reversed axes. |
| 15 Aug 2005 |
This update removes the limitations of the previous version in regards to a log scale and a reversed scale. Now it is possible to pass this information as arguments to the transform. read the .m file for detailed description. |
| 09 Jan 2006 |
now the function automatically checks for reverse/normal and log/linear status of the axes. all you need to do is enter the axes coordinates of where you want to place an annotation object. |
|
Contact us at files@mathworks.com