3d plots: set view angle (azimuth and elevation)

Thanks for a great library and excellent documentation.

I’m using mpl_toolkits.mplot3d.Axes3D (version 0.99.0) to generate a 3D scatter plot and the web examples have been very useful so far. But I have these questions to which I can’t find answers in the mailing lists or the website:

a) can you programmatically set the viewing angle (azimuth and elevation)? I noticed the ax.get_proj() function, but was hoping there would be an ax.set_proj(elev=…, az=…) function also.
b) can you set all 6 sides of the bounding box to show up, instead of 3, but set their faces to be transparent (of course!)

Thanks,
Kevin

For the first question, try ax.view_init(elev, azim)

Kevin Dunn-2 wrote:

···

Thanks for a great library and excellent documentation.

I'm using mpl_toolkits.mplot3d.Axes3D (version 0.99.0) to generate a 3D
scatter plot and the web examples have been very useful so far. But I
have
these questions to which I can't find answers in the mailing lists or the
website:

a) can you programmatically set the viewing angle (azimuth and elevation)?
I noticed the ax.get_proj() function, but was hoping there would be an
ax.set_proj(elev=..., az=....) function also.
b) can you set all 6 sides of the bounding box to show up, instead of 3,
but
set their faces to be transparent (of course!)

Thanks,
Kevin

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register
now!
http://p.sf.net/sfu/devconf
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
matplotlib-users List Signup and Options

--
View this message in context: http://old.nabble.com/3d-plots%3A-set-view-angle-(azimuth-and-elevation)-tp25527048p26228256.html
Sent from the matplotlib - users mailing list archive at Nabble.com.