home *** CD-ROM | disk | FTP | other *** search
/ c't freeware shareware 1999 February / CT_SW9902.ISO / pc / software / wissen / daten / gnuplot.hqx / gnuplot.2.0b4 / Scripts / demo / using.dem < prev    next >
Text File  |  1997-05-03  |  803b  |  28 lines

  1. #
  2. # $Id: using.dem,v 1.2 1993/09/27 17:12:02 alex Exp $
  3. #
  4. # Requires data file "using.dat" from this directory,
  5. # so change current working directory to this directory before running.
  6. #
  7.  
  8. set title "Convex     November 1-7 1989    Circadian"
  9. set xrange[-1:24]
  10. plot 'using.dat' using 2:4 title "Logged in" with impulses,\
  11.      'using.dat' using 2:4 title "Logged in" with points
  12. pause -1 "Hit return to continue"
  13.  
  14. set xrange [1:8]
  15. #set xdtic
  16. set title "Convex     November 1-7 1989"
  17. set label "(Weekend)" at 5,25 center
  18. plot 'using.dat' using 3:4 title "Logged in" with impulses,\
  19.      'using.dat' using 3:5 t "Load average" with points,\
  20.      'using.dat' using 3:6 t "%CPU used" with lines
  21. set nolabel
  22. pause -1 "Hit return to continue"
  23.  
  24. # undo what we have done above
  25. set title
  26. set autoscale x
  27. set xtics
  28.