Ugly Lines in Plot
Ältere Kommentare anzeigen
I am plotting joint angles while walking (multiple steps). I have two vectors, joint angle and percent of step. When I plot:
plot(percent,angle)
MATLAB plots my data but I have ugly horizontal lines across my plot connecting adjacent steps.
In the past I would separate steps with NaN's... but there has to be a easier way... What is the simplest way to get rid of these lines? Thanks ~Dan
1 Kommentar
Walter Roberson
am 13 Jul. 2012
Separating them with NaN is the easiest way.
Akzeptierte Antwort
Weitere Antworten (1)
Amarpal
am 12 Jul. 2012
0 Stimmen
Perhaps you are talking about the gridlines? You can use the following: h = plot(percent,angle); set(h,'edgecolor','none')
Hope this is what you were looking for?
Kategorien
Mehr zu Line Plots finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
