Getting blank plots in matlab

1 回表示 (過去 30 日間)
Kyrillos Fathi Kamal
Kyrillos Fathi Kamal 2021 年 1 月 14 日
hi, i'm running the code without errors but getting blank plots can't figure out where is the problem

回答 (1 件)

Hiro Yoshino
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
Hiro Yoshino 2021 年 1 月 14 日
I suggest you use "break points" so that you can check and see what's going on.
Kyrillos Fathi Kamal
Kyrillos Fathi Kamal 2021 年 1 月 14 日
ok will check and see, thanks

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeSubplots についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by