Hi, I wanto to graph, Plot[Sqrt[4-x^2], {x, 0, 2}], but I want to see that graph in 3D?
How can I do that?
I want to create something like this graph.
I wanto to graph, Plot[Sqrt[4-x^2], {x, 0, 2}], but I want to see that graph in 3D?
How can I do that?
Victor, does this come close to what you want?
Plot3D[Sqrt[4 - x^2 - y^2], {x, 0, 2}, {y, 0, 2}, BoxRatios -> Automatic, ImageSize -> 500, Filling -> Bottom, FillingStyle -> Directive[Opacity[.3], Blue]]
hansmilton
(Hans Milton)
3
An alternative, combining two plots with Show:
Show[
ParametricPlot3D[
{0, u, v}, {u, 0, 1}, {v, 0, 2 u},
Mesh -> None, PlotStyle -> Green
],
ParametricPlot3D[
v {Cos[u], Sin[u], 0}, {u, 0, \[Pi]/2}, {v, 0, 1},
Mesh -> None, PlotStyle -> Green
],
Boxed -> False, AxesOrigin -> {0, 0, 0},
ViewPoint -> 7 {0.2, 0.2, 0.1}
]
Thanks you, so much! My paper will be more easy to understand with this plot.