home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 22 gnu / 22-gnu.zip / gp371os2.zip / demo / steps.dem < prev    next >
Text File  |  1999-10-11  |  892b  |  26 lines

  1. #This file will serve as the datafile used in demonstrating the 
  2. #"plot with steps" option.   Here is a gnuplot input file
  3. #which uses "plot with steps", inverse error function, normal
  4. #distribution function, and the inverse normal distribution
  5. #function.
  6. set title "Compare steps, fsteps and histeps"
  7. plot [0:12][0:13] "steps.dat" notitle with points,  \
  8.  "steps.dat" title 'steps' with steps, \
  9.  'steps.dat' title 'fsteps' with fsteps, \
  10.  'steps.dat' title 'histeps' with histeps
  11.  
  12. pause -1 "Hit return for normal distribution function."
  13. set title "Normal Distribution Function"
  14. plot [-3:3][0:1] norm(x)
  15.  
  16. pause -1 "Hit return for inverse error function."
  17. set title "Inverse Error Function"
  18. plot [-1:1] inverf(x)
  19.  
  20. pause -1 "Hit return for inverse normal distribution function."
  21. set title "Inverse Normal Distribution Function"
  22. plot [0:1] invnorm(x)
  23.  
  24. pause -1 "Press return to continue"
  25. reset
  26.