Adjust axis aspect ratios independently for 3D plot

I have a 3D plot whose range in the z direction can change drastically depending on the data. X and Y however represent physical positions in 2D space and I would like to ensure that those axes are scaled the same, but allow the Z scaling to be automatically determined to something reasonable. What commands will do this?

Answers (1)

I would recommend using daspect function to control ratio of x-, y- and z-axis scale.

Categories

Asked:

on 7 Mar 2018

Answered:

on 7 Mar 2018

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!