Could anyone help me how to type different symbols for the legend in the graph
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Could anyone help me how to type different symbols for the legend in the graph
3 Commenti
Jan
il 11 Lug 2018
What exactly is the problem? The legend or the plotting? Please show the current code.
Risposte (1)
Akbar
il 11 Lug 2018
LS = {'-v','-^',':','-.','-o','-','-+','-*','x','-square','--+'};
plot(1:10,ones(1,10),'-<','color','black')
hold on
for i = 2:11
plot(1:10,i*ones(1,10),LS{i},'color','black')
end
0 Commenti
Vedere anche
Categorie
Scopri di più su Legend in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!