Bonjour,
Je voudrais savoir comment je peux afficher deux légendes sur le même graphe Matlab.
Merci
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 for t=1:10 plot(Rayon,T(:,:,instant(t)),'r') hold on C1(t)=cellstr(num2str(temps(t))); end legend(C1); leg = legend('show'); title(leg,'Temps (ms)') for t=1:10 plot(Rayon,T(:,:,instant(t)),'b--') hold on C2(t)=cellstr(num2str(temps(t))); end legend(C2); lege = legend('show'); title(lege,'Temps (ms)')
Partager