Reputation: 141
Using the command in julia surf(x,y,z)
, how to control the view? I am using PyPlot.
This example indicates I should try view_init(a,b)
, but that does not work.
I have a couple different versions of julia installed : 0.4.3 and 0.7. Suggestions for either are welcomed.
Upvotes: 0
Views: 325
Reputation: 141
Ah hah. Here we go. The answer is:
figure();
ax = gca(projection="3d");
surf(x,y,z);
ax[:view_init](30,26);
Upvotes: 1