Annotation Help For Figure

creates a temporarily graphical axis on the given figure for easy annotation.
25 Downloads
Updated 7 Aug 2017

View License

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
Created with R2016a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Graphics Objects in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
2.0.0.0

Added (x,y) coordinates at every intersection for easy annotation.

1.0.0.0