内置立体
用去掉不同大小的球瓣的球面作为表面切片作等值线图.
显示完整的 Wolfram 语言输入
In[2]:=

func = Simplify[
   Sum[Cos[5 Norm[{x, y, z} - {Sin[\[Theta]], Cos[\[Theta]], 
         0}]], {\[Theta], 0., 2 \[Pi] - (2 \[Pi])/3, (2 \[Pi])/
     3}], (x | y | z) \[Element] Reals];In[3]:=

Grid[Partition[
  Table[SliceContourPlot3D[func, 
    s, {x, -2, 2}, {y, -2, 2}, {z, -2, 2}, 
    Contours -> Subdivide[-2.5, 2.5, 2], 
    Evaluate@opts], {s, {"CenterSphere", 
     "CenterCutSphere", {"CenterCutSphere", 
      3 Pi/4}, {"CenterCutSphere", Pi}}}], 2], Spacings -> {2, 2}]Out[3]=

