|
From: Khary R. <sur...@gm...> - 2012-06-10 19:13:52
|
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
--
StriperCoast SurfCasters Club
|