Order of 3d Plots

Hello,

is there a possibility to order several 3dplots,
if all are plotted in the same figure. If I execute the code below, the higher
values (blue) are covered by the lower (yellow) ones, which seems quite
unlogical to me (see attached image). Any help if greatly appreciated –
after having searched for a solution quite a few hours…

Best Regards

from numpy import *

import pylab as p

import mpl_toolkits.mplot3d.axes3d as p3

x_test1 = array([[0, 100],[0, 100]])

y_test1 = array([[0, 0], [100,100]])

z_test1 = array([[4, 2],[3,1]])

x_test2 = array([[0, 100]])

y_test2 = array([[0, 100]])

z_test2 = array([[5, 2]])

fig=p.figure()

ax = p3.Axes3D(fig)

ax.plot_wireframe(x_test1, y_test1,
z_test1,linewidth=5, color=(1,1,0))

ax.plot_wireframe(x_test2, y_test2,
z_test2,linewidth=5)

p.show()

Dipl.-Ing.

** Felix
Lütteke**

Lehrstuhl für Fertigungsautomatisierung

und Produktionssystematik

cid:image001.jpg@...3291...

Prof. Dr.-Ing. Jörg Franke

Friedrich-Alexander-Universität Erlangen-Nürnberg

Egerlandstraße 7-9

D-91058 Erlangen

Tel.: +49.9131.85.27176

Fax: +49.9131.302528

Felix.Luetteke@…3289…

http://www.faps.uni-erlangen.de

image002.jpg

  1. International Congress
    Molded Interconnect Devices 2010

29.-30. September 2010

http://www.3dmid.de

image001.jpg

3d_Testplot.png

There is no cutting up of objects and ordering them based on distance to the viewer, if that's what you're asking. I see an experiment on github that starts to implement that sort of thing, though:

Thanks,

Jason

···

On 9/22/10 2:55 PM, Lütteke Felix wrote:

Hello,

is there a possibility to order several 3dplots, if all are plotted
in the same figure. If I execute the code below, the higher values
(blue) are covered by the lower (yellow) ones, which seems quite
unlogical to me (see attached image). Any help if greatly appreciated
- after having searched for a solution quite a few hours...