|
From: surfcast23 <sur...@gm...> - 2012-06-10 19:30:18
|
to matplotlib-use.
Hi,
I have a data set that is composed of x,y,z coordinates of the center of
cells and counts of objects in each contained in cell. I am using the
following code to do a scatter plot of the counts per cell.
ax = fig.add_subplot(111, projection='3d')
ax.scatter(Xa, Ya, Za, zdir='z', s=C, c='b')
ax.set_xlabel('X Label')
ax.set_ylabel('Y Label')
ax.set_zlabel('Z Label')
plt.show()
Where Xa, Ya, Za, are arrays containing the cell centers, and C is an array
of counts per cell. Below is a plot I did where the blue circles represent
the "size in points^2. It is a scalar or an array of the same length as x
and y."(Quote from docs). What I would like to do is have the plot show
the actual number of counts as points in the plot. Is such a thing possible?
Thanks
Best,
Khary
http://old.nabble.com/file/p33990025/3D_2.png
--
View this message in context: http://old.nabble.com/Plot-points-in-a-3D-Scatter-Plot-tp33990025p33990025.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
|