# questions about changing coordinate position in 3D plotting

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20190615/ab718f4a/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/20190615/ab718f4a/attachment-0001.png>

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20190615/e6dd1a76/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/20190615/e6dd1a76/attachment-0001.png>

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

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
Matplotlib-users Info Page

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20190615/ce307d2b/attachment-0001.html&gt;
-------------- 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/20190615/ce307d2b/attachment-0001.png&gt;

···

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

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>