sphere

Create sphere.

📝 Syntax

  • [X, Y, Z] = sphere()

  • [X, Y, Z] = sphere(n)

  • sphere()

  • sphere(n)

  • sphere(ax, n)

📥 Input argument

  • n - Number of points: positive whole number.

  • ax - Target axes: 'axes' object.

📤 Output argument

  • X, Y, Z - x-, y-, and z- coordinates of a sphere without drawing it.

📄 Description

sphere creates sphere and plots it.

💡 Example

🔗 See also

cylinder, surf.

🕔 History

Version
📄 Description

1.0.0

initial version

Last updated

Was this helpful?