Individual point definition in Matplotlib?

I would like to have uneven point sizes in matplotlib (set the size for each point). Is there any way to do this? I think I could hack it with a separate plot command (with a set of markers) for each point, but that would be very unpleasant. Is there a more fundamental way?

+6
source share
1 answer

I just found out that you can use scatter for this:

  scatter(500:600,600:700,1:101); 

where format: scatter(x,y,sizes,markerType)

It produces:

enter image description here

+7
source

Source: https://habr.com/ru/post/898860/


All Articles