Effacer les filtres
Effacer les filtres

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

16 vues (au cours des 30 derniers jours)
Mike McCullough
Mike McCullough le 1 Août 2018
Commenté : Mike McCullough le 11 Nov 2021
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.

Réponses (1)

Patrick Zwierzynski
Patrick Zwierzynski le 3 Août 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!

Translated by