home *** CD-ROM | disk | FTP | other *** search
/ Computerworld 1996 March / Computerworld_1996-03_cd.bin / idg_cd3 / aplikace / cad / wplot211 / funplot.plt < prev    next >
Text File  |  1994-06-10  |  513b  |  27 lines

  1. clrdata
  2. clrplot
  3. close
  4.  
  5. title Functions can be plotted
  6. xlabel x
  7. ylabel y
  8. legend1 0.63 0.15 y(x) = 1-exp(-x)
  9. legend2 0.63 0.34 y(x) = 2*(1-exp(-x/2))
  10. legend3 0.63 0.54 y(x) = 3*(1-exp(-x/3))
  11. legend4 0.63 0.71 y(x) = 4*(1-exp(-x/4))
  12. legend5 0.63 0.87 y(x) = 5*(1-exp(-x/5))
  13. xstart 0
  14. xend 20
  15. xstep 5
  16. ystart 0
  17. yend 5
  18. ystep 1
  19. xsamples 101
  20. * message Calculating - Please wait ...
  21. y(x) = 1-exp(-x)
  22. y(x) = 2*(1-exp(-x/2))
  23. y(x) = 3*(1-exp(-x/3))
  24. y(x) = 4*(1-exp(-x/4))
  25. y(x) = 5*(1-exp(-x/5))
  26. plot
  27.