You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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 (2026). Annotation Help For Figure (https://www.mathworks.com/matlabcentral/fileexchange/63856-annotation-help-for-figure), MATLAB Central File Exchange. Retrieved .
General Information
- Version 2.0.0.0 (1.5 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
