How To use Paw

 

Here are some quick commands to get you started using Paw. First off, Paw stands for Physics Analysis Workstation (I believe). It is used for analyzing and plotting data. To open paw, go to the directory where your data file is (traditionally ends in .rzhist or .rz) and type in a command prompt paw++ (or on a pc 'pawnt').

Commands

  • h/file 1 test.rzhist
         h/file opens a histogram file
         '1' is the file number, can be any number
         test.rzhist is the filename (must      be in directory where paw was opened
  • close 1
         closes file number 1
  • h/li
         h/li lists all of the histograms in the current file
  • h/pl 100 cs
         h/pl plots a histogram
         100 is the histogram number/id
         cs, 'c' is for curve, smooths the histogram (optional), 's' is for superimpose, puts
         the graph ontop of whatever histogram is already there (also optional)
  • set hcol 2
         sets the histogram colour to '2'.. numbers 1-8 work I believe
  • zone 3 2
         divides the histogram plot window into 6 separate plots, 3 columns and 2 rows
  • exe plot
         executes the kumac 'plot.kumac' (must be in current folder). Kumacs are just a
         series of commands saved in a *.kumac file. If you are constantly plotting the
         same histograms with every run of a program, create a kumac such as the
         following:
             - h/file 1 run.rzhist
             - set hcol 1
             - h/pl 10 c
             - set hcol 2
             - h/pl 11 cs
             - set hcol 3
             - h/pl 12 cs
             - close 1
  • To output the current graph to a postscript file, use the following commands (this works on linux, don't know about PCs): fortran/file 66 paw.ps (or whatever *.ps name you want)
    meta -66 -111
    pict/plot ' '
    close 66

There are many many other commands to be used in paw, they can be found in the paw manual or follow this link and go to PAW or PAW reference, http://wwwasdoc.web.cern.ch/wwasdoc/.

Back

 
© 2006 Carleton University 1125 Colonel By Drive, Ottawa, Ontario, K1S 5B6 Canada (613) 520-7400
| Contacts |
Canada's Capital University