I would like to know the default PlotStyle
for Plot3D
. Below are two codes, one is the default setting and another is my setting.
Default:
Plot3D[{z=1/2(x^2+y^2), z=x^2+y^2, z=2(x^2+y^2), z=3(x^2+y^2)},
{x,-1,1}, {y,-1,1}, Mesh->None]
My:
Plot3D[{z=1/2(x^2 + y^2), z=x^2+y^2, z=2(x^2+y^2), z=3(x^2+y^2)},
{x,-1,1}, {y,-1,1}, Mesh->None,
PlotStyle -> {ColorData[97, "ColorList"][[2]], ColorData[97, "ColorList"][[1]],
ColorData[97, "ColorList"][[3]], ColorData[97, "ColorList"][[4]]}]
I know there should be some other settings in the default style, such as Specularity
. I want to use the default style except that use different colors or change the order of default colors.
Method /. Charting`ResolvePlotTheme[$PlotTheme, Plot3D]
-- look for the default plot style. Also search the site forResolvePlotTheme
to find many examples of its use. $\endgroup$defaultplotstyle= "DefaultPlotStyle"/.(Method/. Charting`ResolvePlotTheme[Automatic, Plot3D])
$\endgroup$