How can I plot many thousands of circles quickly?

后端 未结 4 484
耶瑟儿~
耶瑟儿~ 2021-02-09 00:08

I\'m trying to plot several (many thousands) of circle objects - I don\'t have much experience working with python. I\'m interested in specifying the position, radius and color

4条回答
  •  遇见更好的自我
    2021-02-09 00:36

    Not sure what you are really trying to do, or what your issues or concerns are, but here is a totally different method of plotting circles... make an SVG file like this and call it circles.svg

    
    
      
      
      
    
    

    and pass it to ImageMagick to make into a PNG file like this:

    convert circles.svg result.png
    

提交回复
热议问题