开发者

Individual point-sizing in Matplotlib?

I'd like to have non-uniform point sizes in matplotlib (set a size for each point). Is there a way to do this? I guess I could hack it by having a separate plot command (with markersize set) for each point, but that would be really annoying. Is there a more principled way开发者_JAVA百科?


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

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

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

Produces:

Individual point-sizing in Matplotlib?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜