how to hardcode Z axis scale on 3D surface

I am trying to plot a paraboloid in Mathematica. Here is my code:

Plot3D[x^2+y^2, {x, -4, 4}, {y, -4, 4}]

The output is a 3D plot but with the vertical axis completely off scale:

W5sLa how to hardcode Z axis scale on 3D surface

I tried several different functions namely BoxRatio, AspectRatio and PlotRange. None of these work. How do I hardcode the z-axis scale to be the same as the x and y scales and not exagerated like the above figure?

Let’s block ads! (Why?)

Recent Questions – Mathematica Stack Exchange