Thanks Ben I will check it out

Benjamin Root-2 wrote:
> 
> Khary,
> 
> On Sun, Jun 10, 2012 at 3:30 PM, surfcast23 <surfcas...@gmail.com> wrote:
> 
>>
>> 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
>>
> 
> I think this example might be what you are looking for:
> 
> http://matplotlib.sourceforge.net/mpl_toolkits/mplot3d/tutorial.html#text
> 
> Cheers!
> Ben Root
> 
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. Discussions 
> will include endpoint security, mobile security and the latest in malware 
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Plot-points-in-a-3D-Scatter-Plot-tp33990025p34027555.html
Sent from the matplotlib - users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to