|
Hi,
I have successfully created a 3D scatter plot with mplot3d, but how can I rotate the plot around e.g. the z-axis? I do not want to use the user interface but I would like to use a command to do that. But I could not find good documentation anywhere and the commands attributed to the Axes3D also do not show anything obvious. Thanks Alex ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Matplotlib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/matplotlib-users |
|
There is an uncommented, and therefore undocumented function:
axes3d.view_init(elev, azim) that you can use to rotate the axes. If you have not already, I suggest you use the current SVN version of MPL instead of the 0.99.1 version. Mplot3d has some more features in the trunk, but it is still rough around the edges. -Ben -----Original Message----- From: Alexander Dietz [mailto:[hidden email]] Sent: Tuesday, March 16, 2010 1:25 PM To: [hidden email] Subject: [Matplotlib-users] How to 'rotate' a 3D plot? Hi, I have successfully created a 3D scatter plot with mplot3d, but how can I rotate the plot around e.g. the z-axis? I do not want to use the user interface but I would like to use a command to do that. But I could not find good documentation anywhere and the commands attributed to the Axes3D also do not show anything obvious. Thanks Alex ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Matplotlib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/matplotlib-users ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Matplotlib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/matplotlib-users |
|
Thanks a lot, that seems to work!
Alex On Tue, Mar 16, 2010 at 18:54, Ben Axelrod <[hidden email]> wrote: > There is an uncommented, and therefore undocumented function: > > axes3d.view_init(elev, azim) > > that you can use to rotate the axes. If you have not already, I suggest you use the current SVN version of MPL instead of the 0.99.1 version. Mplot3d has some more features in the trunk, but it is still rough around the edges. > > -Ben > > > > -----Original Message----- > From: Alexander Dietz [mailto:[hidden email]] > Sent: Tuesday, March 16, 2010 1:25 PM > To: [hidden email] > Subject: [Matplotlib-users] How to 'rotate' a 3D plot? > > Hi, > > I have successfully created a 3D scatter plot with mplot3d, but how can I rotate the plot around e.g. the z-axis? > > I do not want to use the user interface but I would like to use a command to do that. But I could not find good documentation anywhere and the commands attributed to the Axes3D also do not show anything obvious. > > Thanks > Alex > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Matplotlib-users mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Matplotlib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/matplotlib-users |
| Powered by Nabble | Edit this page |
