Plot with different Line Specs
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Guilherme Gaspar
am 11 Sep. 2016
Beantwortet: Guilherme Gaspar
am 11 Sep. 2016
I want to plot three columns of the variable matrixA, with 3 different colors and markers:
'-ok', '-dk', '-+k'
I've tried numerous ways and none of them worked. My plot is this:
vodd = [1:2:5];
semilogy(x,matrixA(:,vodd))
Additionally, I will want to add more matrices, with 3 columns, and specify each collumn with a different color/marker.
semilogy(x,matrixA(:,vodd),x,matrixB(:,vodd),....)
How do I do this?
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Line Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!