I need to draw (pencil and paper) the region bounded by $x^2+y^2=1$, $y=z$, $x=0$, and $z=0$ in the first octant. So the first assistance I asked of Mathematica is:
ContourPlot3D[{x^2 + y^2 == 1, y == z, x == 0, z == 0}, {x, 0, 1}, {y,
0, 1}, {z, 0, 1},
ContourStyle -> Opacity[0.5],
AxesLabel -> {"x", "y", "z"},
ViewPoint -> {3, -0.5, 1.5}]
Which gave me this image:
I was then able to draw the image via pencil and paper. Then I thought I'd try RegionFunction.
ContourPlot3D[{x^2 + y^2 == 1, y == z, x == 0, z == 0}, {x, 0, 1}, {y,
0, 1}, {z, 0, 1},
RegionFunction -> Function[{x, y, z}, y <= Sqrt[1 - x^2] && z <= y],
ContourStyle -> Opacity[0.5],
AxesLabel -> {"x", "y", "z"},
ViewPoint -> {3, -0.5, 1.5}]
Which gave me this image.
I was able to repair it by extending my inequalities a bit.
ContourPlot3D[{x^2 + y^2 == 1, y == z, x == 0, z == 0}, {x, 0, 1}, {y,
0, 1}, {z, 0, 1},
RegionFunction ->
Function[{x, y, z}, y <= Sqrt[1 - x^2] + 0.001 && z <= y + 0.001],
ContourStyle -> Opacity[0.5],
AxesLabel -> {"x", "y", "z"},
ViewPoint -> {3, -0.5, 1.5}]
Which gave me this image.
Now, I am aware of RegionPlot3D, but I am not fond of the images it produces, although it is an easy method to get a quick idea of what the image looks like. So, I started trying a little ParametricPlot3D.
Show[
Plot3D[y, {x, 0, 1}, {y, 0, Sqrt[1 - x^2]},
AxesLabel -> {"x", "y", "z"}],
ParametricPlot3D[{x, Sqrt[1 - x^2], z}, {x, 0, 1}, {z, 0,
Sqrt[1 - x^2]},
PlotStyle -> {LightBlue, Opacity[0.8]}],
ViewPoint -> {3, -0.5, 1.5}
]
Which gave me a little bit of strangeness. See the little sudden dipping in the border of the blue side as it approaches the x-axis?
I tried my contour inequality (adding 0.001 here an there) extension approach in several ways, but I could not get it to disappear. Any thoughts?
Update: There is some extremely wonderful work on this page, but I'd also like to add a cylindrical plot based on MichaelE2's suggestion.
Show[ParametricPlot3D[{u Cos[t], u Sin[t], u Sin[t]}, {t, 0, Pi}, {u,
0, 1},
AxesLabel -> {"x", "y", "z"}],
ParametricPlot3D[{Cos[t], Sin[t], u Sin[t]}, {t, 0, Pi/2}, {u, 0, 1},
PlotStyle -> {LightBlue, Opacity[0.8]}],
ViewPoint -> {3, -0.5, 1.5}]