Patch3DCollection.set_data?

Can anyone help me out? I’m trying to do the following
equivalent in a scatter3d call…

line, = ax.plot(data1, data2)

line.set_data(data3, data4)

line.axes.figure.canvas.draw()

So I’m looking to do:

ax = axes3d.Axes3D(fig)

s = ax.scatter(data1, data2, data3)

s.set_data(data2,data3,data4) ß but this function doesn’t
exist… what is the equivalent that I’m missing?

s.axes.figure.canvas.draw()

TIA

-Ryan

Hi Ryan,

This is currently not supported. Since also the 2D PatchCollection
does not support it I don't see how to easily add it either...

Cheers,
Reinier

···

On Mon, Jun 29, 2009 at 11:40 PM, Ryan Wagner<rwagner@...1899...> wrote:

Can anyone help me out? I’m trying to do the following equivalent in a
scatter3d call…

line, = ax.plot(data1, data2)

line.set_data(data3, data4)

line.axes.figure.canvas.draw()

So I’m looking to do:

ax = axes3d.Axes3D(fig)

s = ax.scatter(data1, data2, data3)

s.set_data(data2,data3,data4) ß but this function doesn’t exist… what is
the equivalent that I’m missing?

s.axes.figure.canvas.draw()

TIA

-Ryan

--
Reinier Heeres
Tel: +31 6 10852639