Getting blank plots in matlab
3 次查看(过去 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!