how to add label to diagram plotted using plot function?
10 views (last 30 days)
Show older comments
how to add label to diagram plotted using plot function?
2 Comments
Accepted Answer
Preethi
on 13 Feb 2019
hi,
hope this helps
xlabel('X axis'); % to label X axis
Ylabel('Value'); % to label Y axis
title('Name'); %to provide title to your plot
3 Comments
Preethi
on 14 Feb 2019
check this
for circle
plot(x,y);
c = cellstr(b);%b contains the characters you want to print in plot
dx = 0.1; dy = 0.1;
text(x+dx, y+dy, c);
More Answers (0)
See Also
Categories
Find more on 2-D and 3-D Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!