Clear Filters
Clear Filters

For 3D, how do I change the default Z axis orientation to out toward me and not up?

16 views (last 30 days)
This feature is available from FXgraph and most text books show the Z axis coming out toward you and the Y axis is pointing up? PLOT3 defaults to Z axis up.

Answers (1)

Patrick Zwierzynski
Patrick Zwierzynski on 3 Aug 2018
Have you tried clicking and dragging the plot on the figure to the desired viewing angle?
Alternatively, you can try changing the order of the parameters, i.e., change:
plot3(x, y, z) % original input order
plot3(x, z, y) % alternate input order, will change axes positioning

Community Treasure Hunt

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

Start Hunting!