Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2014
33
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. import pylab
  2.  
  3. x=[0.1,0.2,0.3,0.4]
  4. y=[0.2,0.4,0.6,0.8]
  5.  
  6.  
  7. pylab.figure(num=1,frameon=False)
  8. circle = pylab.Circle((0, 0), 1.025, color="black", fill=None)
  9. ax = pylab.subplot(111, aspect=1)
  10. ax.add_artist(circle)
  11. ax.scatter(x,y,s=30, c='red', marker='o', edgecolor='red')
  12. pylab.xlim([-1.1,1.1])
  13. pylab.ylim([-1.1,1.1])
  14. ax.xaxis.set_visible(False)
  15. ax.yaxis.set_visible(False)
  16. pylab.title("Plot")
  17. pylab.show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement