Ugly Lines in Plot
이전 댓글 표시
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
Walter Roberson
2012년 7월 13일
Separating them with NaN is the easiest way.
채택된 답변
추가 답변 (1개)
Amarpal
2012년 7월 12일
0 개 추천
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?
카테고리
도움말 센터 및 File Exchange에서 Line Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
