How to plot sphere in command window

4 Ansichten (letzte 30 Tage)
Hunain Shahid
Hunain Shahid am 1 Mär. 2021
Bearbeitet: Hunain Shahid am 16 Apr. 2021
How to plot in command window?
  1 Kommentar
John D'Errico
John D'Errico am 1 Mär. 2021
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?

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

KSSV
KSSV am 1 Mär. 2021
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.

Weitere Antworten (0)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by