change position of axes in plot3d?

Hi.
when i use plot3d the locations of axes are as shown in screenshot 167. How can i change them like screenshot 170 ?
Thanks.

2 Comments

doc view
will let you set camera elavation and azimuth, or other parameterisations of the camera position.
The origin of all three axes must be consistent. In view we change the Viewing Angle.

Sign in to comment.

Answers (1)

If you want to show the grid and axes, use the:
grid on
command after the plot3 call.

Asked:

on 12 Apr 2019

Commented:

on 12 Apr 2019

Community Treasure Hunt

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

Start Hunting!