Hello,

I'm having trouble finding examples for using art3D through the PyPlot 
module in Julia. Ultimately I'd like to reproduce this 
example: 
http://stackoverflow.com/questions/4622057/plotting-3d-polygons-in-python-matplotlib
 
(Python, code below)

from mpl_toolkits.mplot3d import Axes3Dfrom mpl_toolkits.mplot3d.art3d import 
Poly3DCollectionimport matplotlib.pyplot as plt
fig = plt.figure()
ax = Axes3D(fig)
x = [0,1,1,0]
y = [0,0,1,1]
z = [0,1,0,1]
verts = [zip(x, y,z)]
ax.add_collection3d(Poly3DCollection(verts))
plt.show()


I can't figure out how to call Poly3DCollection correctly in Julia. Any 
suggestions?

Thank you in advance for the advice.

Alex

Reply via email to