It seemed a good idea to write my notes from misc bits of paper onto a web page so I could always find them.
Thanks are due to all who have taught me PAW stuff - mostly Roger and
Frank.
Resizing the default PAW windowUsage: want 1col by 3 rows, but without the default wide-screen formatting of PAW.Params to change: set xsiz nn
To decide that nn and nnn should be, use: > SET at the PAW prompt to see what the default settings are. My settings currently do: parameter | current value | default value | explanation -------------------------------------------------------------- XSIZ | 21.00 | 20.00 | Size along X YSIZ | 29.70 | 20.00 | Size along Y |
DirectoriesOpen file with, say: > h/fil 1 uds.hbook Then want to change into subdir > cd nanohists Then want to get back, need that lun id number that you opened the original hbook file with, and do: > cd //lun1 |
Picture printing(good idea to put this in pawlogon.kumac)>opt zfl1 Then make your picture. Then >p/print file.eps The extension you give in the picture-print command is the file-type it'll give you as output. |
Handling files with upper cases in their names(Should put this inpawlogon.kumac !)
> kuip/s/filecase KEEP |
That stats boxTurn it on withopt statoptions 111111 (see PAW manual) Turn it OFF with opt nstat |
To have rotated textset tang 90 //set text angle text x y 'tex' 0.3 //position, position, text, size set tang 0 //best to reset it Get a full list of available commandsset |
Generating the common blocknt/uw 1013 includefile.file |
Random useful bitsm/clrclears the screen. Or just clr . m="misc"
If the command is unambiguous, don't have to put the initial bit, as in clr Closing files: f/close lunID close lunID //cos the command is unambiguousRandom fitting commands I can use sometime: h/pl 580 //pre-existing histo v/cr par(10) //?? - new vector called 'par' with 10 zero slots h/fit 580 g+p2 //Gaussian plus quadratic h/fit 580(10:30) g //which bins plus Gaussian |
Saving multiple plots to a single PS fileCan do from normal PAW prompt:f/file 66 temp.ps metafile -66 -111 exec plotmakingkumac metafile 0 close 66Note that the plots (probably) won't appear on screen - but they will be made - check temp.ps |
Finding the number of entries in part of a histogramE.g. for histo 505, want to know how many entries up to 1.8 GeV. 1.8 GeV is the lower edge of bin 71, so want to count the number of entries in bins 1-70:h/pl 505 v/cr c(100) | same number of bins as in histo get/conts 505 c v/prin c | print the contents of each bin in c sigma c=sumv(c) | overwrite c with cumulative sum of bin contents v/print c(70) | contents of bin 70, else could just print all and look |
|
All Rights Reserved |
Email: jenny@hep.man.ac.uk |