Info
この質問は閉じられています。 編集または回答するには再度開いてください。
why my plot not being displayed?
1 回表示 (過去 30 日間)
古いコメントを表示
even when i run simple code like plot(x,y),my matlab is not displaying the figure.it is giving empty fig window.
2 件のコメント
Walter Roberson
2019 年 7 月 16 日
Do your x and y have more than one finite point? If x and y are scalar, by default MATLAB does not provide any markers for the points.
回答 (2 件)
Jan
2019 年 7 月 16 日
Try
plot(x, y, 'o')
to check, if x and/or y are scalars, which plot infinitesimal small dots only.
0 件のコメント
Star Strider
2019 年 7 月 16 日
If your code involves array division, remember to use element-wise division: ./ rather than /.
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!