I have a 3D Plot with 3 separate functions for z
in terms of x
and y
. I would like to convert this to a RegionPlot with the max
of the three functions plotted for the variables x
and y
.
Essentially, this would be the top view of the 3D Plot, as whatever function is visible from the top is the highest and thus the maximum at that point.
However, I also need to add a Manipulate
to this so it cannot merely be an image of the top view of the 3D Plot.
Manipulate[
Plot3D[{0.1,
Piecewise[{{α - ((2 α - 1) α)/y + (
x*α^2)/(2 y ), (1 - α) + α^2/(2 y) >=
0.35}}],
Piecewise[{{α + (1 - α)^2/(
2 y), (1 - α) + (((3 α -
1) - ((Abs[1 - x]) (1 - α))) (1 - α))/(
2 y) >= 0.35}}],
Piecewise[{{α - ((2 α - 1) α)/((2 -
a) 2) + ((3 - 2 a - Abs[x - a] ) α^2)/(
2 y*(2 - a)^2), (1 - α) + α^2/(2 y (2 - a)) >=
0.35}}]} /. {a -> ((1 + z)/2), x -> 1} //
Evaluate, {α, 0, 1}, {z, 0, 1},
AxesLabel -> Automatic,
PlotRange -> Automatic,
PlotStyle -> {Black, Green, Orange, Blue}], {{y, 2,
Gamma}, 1, 5}]
I would like a 2D Plot from this top view