SourceForge logo
SourceForge logo
Menu

matplotlib-users

From: Ryan W. <rw...@vn...> - 2009年06月29日 21:41:00
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
From: Reinier H. <re...@he...> - 2009年06月30日 13:29:13
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<rw...@vn...> 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
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /