how plot this region $S=[1,2] \times[0, \dfrac{\pi}{2}] \times[0, \dfrac{\pi}{2}]$ in spherical coordinates?

Under the commands command,

{{ParametricPlot3D[FromSphericalCoordinates[{{{1,[{0, Pi},p/(2 Pi)], p}, {[Placeholder]}}}] // Evaluate, {p, 0, 2 Pi}]},{}}

but without success

  • 2
    $\begingroup$ This is basically one octant of a spherical shell, no? $\endgroup$ – J. M.'s technical difficulties Apr 2 '18 at 11:31
  • $\begingroup$ I believe so. But as I'm starting to use mathematica now, I'm curious to try to plot the regions, and I could not $\endgroup$ – Ricardo Freire Apr 2 '18 at 11:59
  • $\begingroup$ If all you want is that spherical shell section, there are much easier methods. For the general case: maybe try ParametricRegion[]? $\endgroup$ – J. M.'s technical difficulties Apr 2 '18 at 12:49

Well, in this case it is very easy. No need to use ParametricPlot3D, as RegionPlot3D can do the job:

RegionPlot3D[1 < x^2 + y^2 + z^2 < 2^2, {x, 0, 2}, {y, 0, 2}, {z, 0, 2}, 
Mesh -> None]

enter image description here


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.