Mathematica RegionPlot on the surface of the unit sphere?

后端 未结 4 1682
无人共我
无人共我 2021-02-13 22:49

I am using RegionPlot3D in Mathematica to visualise some inequalities. As the inequalities are homogeneous in the coordinates they are uniquely determined by their

4条回答
  •  后悔当初
    2021-02-13 23:36

    SphericalPlot3D[0.6, {\[Phi], 0, \[Pi]}, {\[Theta], 0, 2 \[Pi]}, 
     RegionFunction -> 
      Function[{x, y, z}, 
       PolyhedronData["Cube", "RegionFunction"][x, y, z]], Mesh -> False, 
     PlotStyle -> {Orange, Opacity[0.9]}]
    

提交回复
热议问题