## matplotlib-users

 [Matplotlib-users] Axes3D - size of the Z axe From: German Ocampo - 2009-10-02 12:50:36 ```Hello everybody How can I control the size of the Z axis in a 3D plot using Axes3D in matplotlib? regards german ```
 Re: [Matplotlib-users] Axes3D - size of the Z axe From: German Ocampo - 2009-10-02 14:04:53 ```Hello After search in google, I found a solution changing the initial point of view of the plot, using a function which control the angle and elevation of the initial view: ax.view_init(elevation, azimuth) and tried and works ax = Axes3D(fig) ax.view_init(64, -30) Question: Is it possible to include this function in the Axes3D documentation web page? or where I could find it in the webpage? http://matplotlib.sourceforge.net/mpl_toolkits/mplot3d/api.html?highlight=axes3d#module-mpl_toolkits.mplot3d.axes3d Thanks German On Fri, Oct 2, 2009 at 1:24 PM, German Ocampo wrote: > Hello everybody > > How can I control the size of the Z axis in a 3D plot using Axes3D in > matplotlib? > > regards > > german > ```
 Re: [Matplotlib-users] Axes3D - size of the Z axe From: Nicolas Bigaouette - 2009-10-02 18:34:43 Attachments: Message as HTML ```I was looking for something similar. It seems Axes3D() takes the angle as argument: import matplotlib.pyplot as plt import mpl_toolkits.mplot3d as m3d fig = plt.figure() ax = m3d.Axes3D(fig, elev = 20.0, azim = 45) in degrees. 2009/10/2 German Ocampo > Hello > > After search in google, I found a solution changing the initial point > of view of the plot, using a function which control the angle and > elevation of the initial view: > > ax.view_init(elevation, azimuth) and tried and works > > ax = Axes3D(fig) > ax.view_init(64, -30) > > Question: Is it possible to include this function in the Axes3D > documentation web page? or where I could find it in the webpage? > > > http://matplotlib.sourceforge.net/mpl_toolkits/mplot3d/api.html?highlight=axes3d#module-mpl_toolkits.mplot3d.axes3d > > Thanks > > German > > > On Fri, Oct 2, 2009 at 1:24 PM, German Ocampo wrote: > > Hello everybody > > > > How can I control the size of the Z axis in a 3D plot using Axes3D in > > matplotlib? > > > > regards > > > > german > > > > > ------------------------------------------------------------------------------ > 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@... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > ```