How do I rotate a 3d plot surf by MATLAB code?

I have this figuer below:
Iwould to rotate it by code to be like this:

Answers (1)

Read about view.
Also there is a rotate symbol on the figure generated. You can use that to rotate.

Asked:

on 11 Nov 2020

Answered:

on 11 Nov 2020

Community Treasure Hunt

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

Start Hunting!