home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 22 gnu / 22-gnu.zip / GNUPDEMO.ZIP / errorbar.demo < prev    next >
Text File  |  1992-03-25  |  939b  |  34 lines

  1. #
  2. # $Id: errorbar.demo,v 3.26 92/03/24 22:32:35 woo Exp Locker: woo $
  3. #
  4. #
  5. # Requires data file "err.dat" from this directory,
  6. # so change current working directory to this directory before running.
  7. # gnuplot> set term <term-type>
  8. # gnuplot> load 'errorbar.demo'
  9. #
  10.  
  11. set title "Demonstration of error bars (both ylow and yhigh, default format)"
  12. plot [-3:65] "err.dat" with errorbars
  13.  
  14. pause -1 "Hit return to continue"
  15.  
  16. # this should look the same
  17. set title "Demonstration of error bars (both ylow and yhigh)"
  18. plot [-3:65] "err.dat" using 1:2:3:4 with errorbars
  19.  
  20. pause -1 "Hit return to continue"
  21.  
  22. set title "Demonstration of error bars (only ydelta)"
  23. plot [-3:65] "err.dat" using 1:2:5 with errorbars
  24.  
  25. pause -1 "Hit return to continue"
  26.  
  27. set title "Plot data file twice to get lines and errorbars"
  28. plot [-3:65] [6:14] "err.dat" with lines, "err.dat" using 1:2:4:3 with errorbars
  29.  
  30. set title ""
  31. set autoscale
  32.  
  33. pause -1 "Hit return to continue"
  34.