I'm trying to plot 2 spheroids that connect smoothly at z=0 and show spheroid1 where z>0 and show spheroid2 where z<0. But I can't differentiate the two according to the z range. This is my code.
Module[{a = 1.12*10^-3, b = 1.09*10^-3, c = 0.82*10^-3,
z0 = 0.73*10^-3},
ContourPlot3D[{(x^2 + y^2)/a^2 + z^2/b^2 ==
1, (x^2 + y^2)/a^2 + z^2/c^2 == 1},
{x, -1.5 a, 1.5 a}, {y, -1.5 a, 1.5 a}, {z, -c, b},
RegionFunction -> Function[{x, y, z}, x < 0 || y > 0],
AxesLabel -> {x, y, z},
ContourStyle -> {Yellow, Magenta}]
]
I would like to see the yellow part at z>0 and the magenta part at z<0
(would like to plot only the upper half of the yellow part and the lower half of the magenta)