Annotation Help For Figure
This submission creates the graphical axis on the figure so that one is able to draw accurate annotation.
This file is intended for technical writers, PhD scholars, scientists, etc, who want to annotate their figures precisely.
Usage: annotateHelp
For example:
% Draw the desired plots in which we want to add annotation
figure(1)
N = 10;
plot(1:N,(1:N)+1/4)
plot(1:N,(1:N)+2/4)
plot(1:N,0.5*(1:N)+1/4)
plot(1:N,0.5*(1:N)+2/4)
% run the following command, and draw ellipse and textarrow
annotateHelp
% add your annotations
annotation('ellipse',[8 7 0.5 1]/10)
annotation('textarrow',[6 8]/10,[8 8]/10,'string','first group')
annotation('ellipse',[8 4 0.5 1]/10)
annotation('textarrow',[8.25 8.25]/10,[3 4]/10,'string','second group')
% After successful annotations are complete, remove or comment the line
% containing the annotateHelp command.
Cite As
NAVNEET GARG (2024). Annotation Help For Figure (https://www.mathworks.com/matlabcentral/fileexchange/63856-annotation-help-for-figure), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Graphics > Graphics Objects >
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.