How to plot in command window?

1 件のコメント

John D'Errico
John D'Errico 2021 年 3 月 1 日
You cannot plot in the command window. Are you asking how to plot something by a command FROM the command window? In any case, a plot will be into a FIGURE window.
And what does it mean to plot x0, y0, r?

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

 採用された回答

KSSV
KSSV 2021 年 3 月 1 日

0 投票

If your data is 2D, use plot
plot(x0,yo)
If your data is 3D use plot3.
plot3(xo,yo,r) ;
Note that to use plot command x0,y0 and r should be of same dimension.

1 件のコメント

KSSV
KSSV 2021 年 3 月 2 日
Show the whole code.

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

その他の回答 (0 件)

カテゴリ

質問済み:

2021 年 3 月 1 日

編集済み:

2021 年 4 月 16 日

Community Treasure Hunt

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

Start Hunting!

Translated by