Guest User

Untitled

a guest
Sep 21st, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. from matplotlib.pyplot import *
  2. from numpy import *
  3. xkcd()
  4.  
  5. x1 = linspace(0,2,1000)
  6. x2 = linspace(0,3,1000)
  7. y1 = x1**2 +3
  8. y2 = x2**2/(1-x2/2) +1
  9.  
  10. plot(x1,y1, label = "LaTeX")
  11. plot(x2,y2, label = "Word")
  12. xlim(0,2)
  13. ylim(0,10)
  14. xticks([1],["complejidad del documento"])
  15. yticks([9],["Esfuerzo y tiempo requerido"], rotation = 90)
  16. legend(fontsize=14)
  17. savefig('LaTeX_vs_Word.pdf')
Add Comment
Please, Sign In to add comment