Draw a sphere: Difference between revisions
Content deleted Content added
Added MATLAB solution |
|||
Line 2,469: | Line 2,469: | ||
Mathematica has many 3D drawing capabilities. To create a sphere with radius one centered at (0,0,0): |
Mathematica has many 3D drawing capabilities. To create a sphere with radius one centered at (0,0,0): |
||
<lang Mathematica>Graphics3D[Sphere[{0,0,0},1]]</lang> |
<lang Mathematica>Graphics3D[Sphere[{0,0,0},1]]</lang> |
||
=={{header|MATLAB}}== |
|||
To create the unit sphere: |
|||
<lang MATLAB>figure; sphere</lang> |
|||
[[File:MATLAB_sphere.png|thumb]] |
|||
=={{header|Maxima}}== |
=={{header|Maxima}}== |