axescoord2figurecoo​rd

Transform axes coordinates in current figure units coordinate.

You are now following this Submission

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 (2026). axescoord2figurecoord (https://in.mathworks.com/matlabcentral/fileexchange/13634-axescoord2figurecoord), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: Data space to figure units conversion

Categories

Find more on 2-D and 3-D Plots in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0