I'm trying to plot an area that revolves around the y axis in 3D, but can't obtain what I need. I checked alot of related questions but can't really find a solution. I need to make revolve the area between:

y^2=x and 2y=x

The zone : So far , the closest I've got is :

RevolutionPlot3D[{y^2, 2 y}, {y, 0, 2}, PlotRange -> All,RevolutionAxis -> Z]

enter image description here The form seems to be it, but it's not "filled", I have just the surface... So I'm looking to have the whole volume, Thanks in advance.


closed as off-topic by Mr.Wizard Mar 9 '17 at 23:38

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question arises due to a simple mistake such as a trivial syntax error, incorrect capitalization, spelling mistake, or other typographical error and is unlikely to help any future visitors, or else it is easily found in the documentation." – Mr.Wizard
If this question can be reworded to fit the rules in the help center, please edit the question.

  • $\begingroup$ @Kuba Yes, and with that I tried RegionPlot3D[ y^4 < x^2 + z^2 < (2 y)^2, {x, -2, 2}, {y, 0, 2}, {z, -2, 2}, PlotTheme -> "Classic", Mesh -> None, PlotStyle -> Opacity[0.5], BoxRatios -> Automatic, Boxed -> False, Axes -> False, Background -> GrayLevel[0]] But didn't work out as expected... $\endgroup$ – Sebastien Martinez Mar 9 '17 at 20:07
  • 2
    $\begingroup$ Can't you just plot both surfaces? Show[RevolutionPlot3D[Sqrt[x], {x, 0, 4}], RevolutionPlot3D[x/2, {x, 0, 4}]] $\endgroup$ – Simon Woods Mar 9 '17 at 22:18
  • $\begingroup$ @Simon Woods Oh yeah,didn't think at that, seems to be perfect, thanks alot ! $\endgroup$ – Sebastien Martinez Mar 9 '17 at 22:25

As suggested in the comments, I plotted both surfaces : Show[RevolutionPlot3D[Sqrt[x], {x, 0, 4}], RevolutionPlot3D[x/2, {x, 0, 4}]] Thanks for your help !

  • $\begingroup$ @bbgodfrey I disagree; this is a solution rather than a clarification. I feel that the question should be closed as "easily found in the documentation" but that is a separate issue. $\endgroup$ – Mr.Wizard Mar 9 '17 at 23:38

Not the answer you're looking for? Browse other questions tagged or ask your own question.