How to plot a sphere using plot tool

How to plot a sphere using plot tool withput using sphere tool only using plot tool

Answers (1)

You can construct a list of coordinates, X, Y, Z, and use
plot3(X, Y, Z, '*')
to cause the points to be plotted in 3 space, with no lines joining them.

2 Comments

the plot3 command also provides an example on how draw spherical shapes
how can I get the list of co ordinates.

Sign in to comment.

Asked:

on 19 Apr 2021

Commented:

on 19 Apr 2021

Community Treasure Hunt

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

Start Hunting!