Clear[y, curveplotter]
curveplotter[y_] = {0, y, f[y]}; 
curve = ParametricPlot3D[curveplotter[y], {y, 0, 3.5}]; 
threedims = Axes3D[4]; 
curveplot = Show[threedims, curve, PlotRange -> All, ViewPoint -> 
CMView, Boxed -> False]

I know this is in the yz-axis, and I was wondering how I can rotate this in the y-axis, and the z-axis (two separate examples?) I'm trying to review an assignment but I don't remember how to alter the code to see this graph about these two axes?

  • 1
    $\begingroup$ Do you mean a surface of revolution? Have you seen RevolutionPlot3D? $\endgroup$
    – Michael E2
    May 21, 2019 at 1:10
  • $\begingroup$ Neither Axes3D nor CMView are defined by Mathematica. Their definitions might be important to the question. $\endgroup$
    – MassDefect
    May 21, 2019 at 5:17


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.