Below is a copy of a paw++ session which takes as input
a file "beam_heat_1257.dat" and plots this file.
This file is found under /home/aniol/paw_info/beam_heat_1257.dat.
Useful help can be found in paw++ for graphics by typing
help graphics in the input pad. There are many options and I have just
shown a few of them in this example. My comments are shown in
italics.
You should look at help graphics to see the full use
of the various options. This will also tell you the meaning of the numbers
in the commands.
The plot that was saved in the usual way by clicking the
right mouse button on the graphics screen is in /home/aniol/paw_info/sample2_plot.ps
.
PAW++ [11] clr
<- clears the graph
PAW++ [12] vec/read x,y beam_heat_1257.dat
<- read in the vectors x y from the file
*** Unknown vector X is created with length 5
*** Unknown vector Y is created with length 5
PAW++ [13] null 0 100 0.95 1.05
<- this command sets the axes lower and upper bounds
PAW++ [14] atitle 'beam current uA' 'counts/mC'
<- labels the axes
PAW++ [15] graph 5 x y *
<- graphs 5 points of the vectors x and y using stars ( * )
PAW++ [16] text 40 1.045 'beam heating effects' 0.3
<- positions text within graph for use as a title, for example
K. Aniol