axescoord2figurecoo​rd

Transform axes coordinates in current figure units coordinate.
3.5K Downloads
Updated 11 Jan 2007

View License

Transform axes coordinates in current
figure units coordinate. Useful for annotation location.

Acknowledgments are due to Scott Hirsch (shirsch@mathworks.com) for is
function ds2nfu. Some part of the present function derived from ds2nfu.

The advantage of the present function comparing to ds2nfu is that it managed problems occurring with various 'DataAspectRatioMode' and 'PlotBoxAspectRatioMode' as well as reverse 'XDir' or 'YDir'.

Cite As

Benoît Valley (2024). axescoord2figurecoord (https://www.mathworks.com/matlabcentral/fileexchange/13634-axescoord2figurecoord), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14SP3
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on 2-D and 3-D Plots in Help Center and MATLAB Answers
Acknowledgements

Inspired by: Data space to figure units conversion

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0