Line series marker question
Mostra commenti meno recenti
When plotting, is it possible to have more than one marker type for the same line series? eg.... plot([0 1],[0 1]) - with two different markers?
Risposta accettata
Più risposte (1)
Wayne King
il 13 Ott 2011
Yes,
plot([0 1],[0 1],'b-*');
hold on;
plot([0 1],[0 1],'r-.^'); axis([-0.5 1.5 -0.5 1.5]);
% or
clf
plot([0 1],[0 1],'b-*',[0 1],[0 1],'r-.^');
axis([-0.5 1.5 -0.5 1.5]);
1 Commento
Walter Roberson
il 13 Ott 2011
No, those use different line series
Categorie
Scopri di più su Annotations in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!