axescoord2figurecoord
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
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Graphics > 2-D and 3-D Plots >
Tags
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!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |