Getting blank plots in matlab
조회 수: 1 (최근 30일)
이전 댓글 표시
hi, i'm running the code without errors but getting blank plots can't figure out where is the problem
댓글 수: 0
답변 (1개)
Hiro Yoshino
2021년 1월 14일
figure;
subplot(3,1,1);
plot(th7,th6,'g','linewidth',2);grid
xlabel('{ \theta_{7}} [deg]');
(th7, th6) is a point - try this one:
figure;
subplot(3,1,1);
plot(th7,th6,'o');grid
xlabel('{ \theta_{7}} [deg]');
댓글 수: 4
Hiro Yoshino
2021년 1월 14일
I suggest you use "break points" so that you can check and see what's going on.
참고 항목
카테고리
Help Center 및 File Exchange에서 Subplots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!