The description about the az of view is wrong.
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Gary Bikini
am 21 Mär. 2020
Bearbeitet: Gary Bikini
am 21 Mär. 2020
The decription about the az are as follows:
```
az — Azimuth
number
Azimuth, specified as an angle in degrees from the negative y-axis. Increasing this angle corresponds to counterclockwise rotation about the z-axis when viewing the x-y plane from above.
```
I think the word "counterclockwise" is wrong. It should be "clockwise". The code can prove that.
az=45;
[X,Y,Z] = peaks;
figure
surf(X,Y,Z)
xlabel('X')
ylabel('Y')
zlabel('Z')
view(az,45)
az=60;
figure
surf(X,Y,Z)
xlabel('X')
ylabel('Y')
zlabel('Z')
view(az,45)
0 Kommentare
Akzeptierte Antwort
Ameer Hamza
am 21 Mär. 2020
I guess this line in documentation is about the rotation of observer around the +z-axis. If you look at the explanation about the line of sight here: https://www.mathworks.com/help/matlab/ref/view.html#mw_a674278c-855a-4302-98e4-fc13c181cfd8, you can see that when the observer's line of sight rotates counterclockwise, the axis appear to have rotated clockwise.
1 Kommentar
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Camera Views finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!