Effacer les filtres
Effacer les filtres

How to produce number labelling and annotations as shown below?

2 vues (au cours des 30 derniers jours)
Zaki Mohzani
Zaki Mohzani le 19 Sep 2012
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

Réponse acceptée

Matt Fig
Matt Fig le 19 Sep 2012
Modifié(e) : Matt Fig le 19 Sep 2012
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')

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by