Vectors and Histograms

Functionality of VECT/DRAW, VECT/PLOT, VECT/HFILL and PUT/CONT

zone 2 2 ve/create VECT1(10) R 1 2 3 4 5 5 4 3 2 1 * ve/draw VECT1 1 VE/PLOT VECT1 * 4 CREATE/1DHISTO 100 'test vector/hfill' 5 1. 6. max 100 2.5 2 VE/HFILL VECT1 100 histo/plot 100 b hi/de 100 * create/1dhisto 100 'test put/contents' 10 1. 11. 5 MAX 100 5.5 5 MIN 100 0.5 3 PUT/CONTENTS 100 VECT1 histo/plot 100

  1. VECT/PLOT draws the statistic of the given vector.
  2. VECT/HFILL fills an existing histogram (create with 1DHIST ) with the values taken from a vector. Note that the command VECTOR/PLOT can automatically book an histogram and fill it with the vector content.
  3. PUT/CONT replaces the content of an histogram with the values of a vector.

    Note also:

  4. Histograms are HBOOK objects. They can be created, like here, interactively in PAW or in a batch HBOOK program.They can be stored in direct access files (we will see examples later).
  5. MIN and MAX define the minimum and maximum of an histogram. By default they are computed automatically.



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