I'm plotting a surface with Plot3D, and I'm using PlotStyle -> Opacity[0.8]
to get a little transparency. Unfortunately, this option seems to be getting pushed to BoundaryStyle
and MeshStyle
as well, resulting in the plot below:
I can't speak for v11 at the moment, but I've checked that this does not happen in v10:
Both of these plots were generated with the following command:
Plot3D[(1 - x) (1 - y/2), {x, 0, 1}, {y, 0, 1},
BoxRatios -> {1, 1, 0.8}, PlotStyle -> Opacity[0.8],
ImageSize -> 600, ViewVector -> 2 {1, 0.9, 0.9},
ViewVertical -> {0, 0, 1}]
Specifying opacity for BoundaryStyle
or MeshStyle
does not override the value set by PlotStyle
. The question is why is this happening? Is it a v12 bug?