home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 3 / TheARMClub_PDCD3.iso / hensa / programming / python / python_1 / !Graph_examples_Powers < prev    next >
Encoding:
Text File  |  1996-08-20  |  199 b   |  20 lines

  1. ; test of graph
  2.  
  3. xrange -.25 1
  4. yrange 0 1
  5. grid .2 .2
  6. axes 0 0
  7. title Powers of x
  8.  
  9. colour green
  10. plot x
  11. colour red
  12. plot x*x
  13. colour blue
  14. plot x*x*x
  15. colour yellow
  16. plot pow(x,4)
  17. colour cyan
  18. plot pow(x,5)
  19.  
  20.