By adding Ben to your answer, you can use the view command. view allows you to rotate the plot to any angle of the camera that you want.
In general, you invoke the command as follows:
view(AZ, EL);
AZ is azimuthal or horizontal rotation, and EL is vertical elevation. They are both in degrees.
In your case, as soon as you plot the surf graph, use view(0, 90); before moving on to the next subplot . view(0, 90); is a standard two-dimensional view, and it looks right above your head.
In doing so, you avoid manually turning the graph, then using campos to determine which camera position is in your area. view(0, 90); should provide you with what you need.
Sidenote
Execution of view(2); also gives a default 2D view(0, 90); equal to view(0, 90); that we talked about. Performing view(3); , you will get a default 3D view, as shown in your graphs. FWIW, the default azimuth and altitude for the 3D plot is AZ = -37.5, EL = 30 , in degrees, of course.
rayryeng
source share