How to produce number labelling and annotations as shown below?
2 次查看(过去 30 天)
显示 更早的评论
Hey guys, Question is obvious. I've tried googling this to no avail. Your help is appreciated.
My plots are similar to the one shown below. MATLAB's default colour labelling nor symbols isn't helpful when many of the plots are too close to each other.
Thanks Z
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/148864/image.png)
0 个评论
采纳的回答
Matt Fig
2012-9-19
编辑:Matt Fig
2012-9-19
Here is an example of one approach.
figure('units','pix','pos',[624 474 672 504])
x = 0:.01:1;
plot(x,cos(x).*exp(-x)+sqrt(x),'-',x,cos(x).*exp(-x) + sqrt(x).*exp(-x/12),'.')
annotation('textarrow',[.4 .5],[.5 .6],'String','1')
annotation('textarrow',[.6 .5],[.8 .68],'String','2')
更多回答(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!