Azzera filtri
Azzera filtri

How to produce number labelling and annotations as shown below?

2 visualizzazioni (ultimi 30 giorni)
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

Risposta accettata

Matt Fig
Matt Fig il 19 Set 2012
Modificato: Matt Fig il 19 Set 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')

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by