
How do I graph the portion of the sphere in the first octant?
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I'm trying to graph x^2+y^2+z^2 = 4 in the first octant. How do I go about doing this?
0 comentarios
Respuestas (1)
Mark Sherstan
el 30 de Nov. de 2018
[x y z] = sphere;
r = 2;
surf(x*r, y*r, z*r);
xlim([0 2.5])
ylim([0 2.5])
zlim([0 2.5])

0 comentarios
Ver también
Categorías
Más información sobre Surface and Mesh Plots en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!