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

  1. clrdata
  2. clrplot
  3. close
  4.  
  5. * message Please wait ...
  6. title Least Squares Polynomial Curve Fits
  7. xlabel X Axis
  8. ylabel Y Axis
  9. read 10
  10. .5 4.5    1.5  6    2.5  12.5   5.5 14.5   6.5 16
  11. 9.5 14.5  10.5 16   12.5 17    14.5 19    15.5 23
  12. poly 3
  13. keep
  14. poly 1
  15. grids
  16. legend2 0.16 0.65 Third_Degree
  17. legend3 0.54 0.74 First_Degree
  18. xstart 0
  19. xend 16
  20. xstep 2
  21. xtics 1
  22. ystart 0
  23. yend 25
  24. ystep 5
  25. plot
  26. poly 3 1 0 0
  27. keep
  28. legend2 .26 .50 Third_Degree
  29. legend3 0.046 0.076 Third_degree_fit_forced_to_pass_through_origin
  30. plot
  31. outpoly
  32. wait
  33.