Starting with vectors

Starting with vectors
6 * Starting with vectors
6 VECTOR/CREATE VECT1(10) | Create a vector of length 10
1 VECTOR/INPUT VECT1 10 8 6 4 2 3 5 7 9 11
7 1 VECTOR/CRE VX(20) R 1. 2. 3. 4. 5. 6. 7. 8. 9. _
10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20.
v/cr vy(20) r 1.1 3.2 5.3 7.4 7.5 6.6 4.3 2.1 6.6 _
11.1 16.2 18.3 19.0 17.8 16.0 12.1 9.1 6.1 3.1 6.6
8 ZON 1 2
2 VECTOR/DRAW VECT1
4 2 GRAPH 20 VX VY
4 5 graph 20 VX VY *
5 gra 20 VX VY C
3 VECT/DEL *

- Here we see two ways to fill a vector:
-
V/CREATE : create a vector and, optionally, fill it.
-
V/INPUT : allows to fill an existing vector.
We will see other ways later.
- Graphic representations of vectors :
VECTOR/DRAW
and
GRAPH .
- VECT/DELETE allows to delete a vector from memory. ``*'' means
delete all vectors in memory. Very often in PAW a command acting
on a specific kind of objects (vectors, histogram, pictures) can
access the complete object set with ``*''.
Note also:
- The PAW commands are case insensitive.
- Command abbreviations are permitted.
- The character ``*'' and ``|'' are used for comments.
- The character ``_'' is used to indicate a continuation line.
- The command
ZONE
subdivides the graphical area.

Last update: 96/05/24 17.17 Olivier.Couet@Cern.Ch