how to add label to diagram plotted using plot function?
1 次查看(过去 30 天)
显示 更早的评论
how to add label to diagram plotted using plot function?
2 个评论
采纳的回答
Preethi
2019-2-13
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 个评论
Preethi
2019-2-14
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);
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Axis Labels 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!