Normalized Coordinates for Annotations
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 (2024). Normalized Coordinates for Annotations (https://www.mathworks.com/matlabcentral/fileexchange/42475-normalized-coordinates-for-annotations), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Graphics > Formatting and Annotation > Labels and Annotations > Annotations >
- MATLAB > Graphics > 2-D and 3-D Plots > Line Plots > Log Plots >
Tags
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 |