Normalized Coordinates for Annotations
Version 1.0.0.0 (1.54 KB) by
Abraham Asfaw
This function returns normalized coordinates in plot, semilogx, semilogy and loglog plots.
Inspired by http://www.mathworks.com/matlabcentral/fileexchange/10656-data-space-to-figure-units-conversion, which featured coordinate normalization in regular plots, I wrote this quick function to offer the same functionality for logarithmically scaled axes. It can handle two-dimensional x-y plots in which either axis is logarithmic (plot, semilogx, semilogy and loglog plots).
Cite As
Abraham Asfaw (2026). Normalized Coordinates for Annotations (https://nl.mathworks.com/matlabcentral/fileexchange/42475-normalized-coordinates-for-annotations), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2013a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Graphics > Labels and Styling > Labels and Annotations > Annotations >
- MATLAB > Graphics > 2-D and 3-D Plots > Line Plots > Log Plots >
Find more on Annotations in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |