How to plot sphere in command window

조회 수: 3 (최근 30일)
Hunain Shahid
Hunain Shahid 2021년 3월 1일
편집: Hunain Shahid 2021년 4월 16일
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일
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.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by