[Matplotlib-users] questions about changing coordinate position in 3D plotting

谢瑾博 xiejinbo at mail.iap.ac.cn
Sat Jun 15 21:23:32 EDT 2019


I guess view_init is the best way, although I may need to reverse the array and the labels a bit. Thanks!
Jinbo


-----原始邮件-----
发件人:"Benjamin Root" <ben.v.root at gmail.com>
发送时间:2019-06-16 05:47:47 (星期日)
收件人: "谢瑾博" <xiejinbo at mail.iap.ac.cn>
抄送: Matplotlib-users <matplotlib-users at python.org>
主题: Re: [Matplotlib-users] questions about changing coordinate position in 3D plotting


the mplot3d code uses a heuristic to determine which edges of the "cube" to use for axis and tick labelling. If you rotate the scene a bit, you'll find that the axis labels will move. Unfortunately, this logic is hard-coded and not very flexible at the moment. The code resides in axis3d.py, if I remember correctly.


Ben Root


On Sat, Jun 15, 2019 at 4:10 AM 谢瑾博 <xiejinbo at mail.iap.ac.cn> wrote:

Dear Users,
I have a question regarding the positioning of the coordinate. As you can see in this picture, the z-coordinate is on the right edge of the figure. While my need is to put it on the left edge (another face also). I wonder how this can be achieved?
yours,
Jinbo
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users at python.org
https://mail.python.org/mailman/listinfo/matplotlib-users


--

Dr. Jinbo Xie
State Key Laboratory of Numerical Modeling for Atmospheric Sciences and Geophysical Fluid Dynamics (LASG)
Institute of Atmospheric Physics,Chinese Academy of Sciences 
e-mail: xiejinbo at mail.iap.ac.cn
Tel:86-10-8299-5419(o)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20190616/ab9a9a7c/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1560585005768.png
Type: image/png
Size: 181200 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20190616/ab9a9a7c/attachment-0001.png>


More information about the Matplotlib-users mailing list