Download this file
    
      
        11 lines (9 with data), 218 Bytes
      
      
        |  | #!/usr/bin/env python
 from matplotlib.matlab import *
 
 N = 30
 x = 0.9*rand(N)
 y = 0.9*rand(N)
 area = pi*(10 * rand(N))**2 # 0 to 10 point radiuses
 scatter(x,y,s=area, marker='d', c='r')
 #savefig('scatter_demo')
 show()
 | 
 
  
                     
                    
                    
                 
            
         
    
      
    
    
    
    
    
        
            ×
        
        Want the latest updates on software, tech news, and AI?
        
            
            Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.