The VECTOR/DRAW options

Some possible data representations with VECTOR/DRAW

zone 2 3 ve/create v(10) R 5 1 3 2 4 1 3 1 8 6 1 SET HTYP 244 ve/draw v ve/draw v ! b ve/draw v ! l 3 VE/DRAW V CHOPT=L* ve/draw v ! bl* 2 SET MTYP 21 ve/draw v ! e ve/de V 4 RETURN

  1. The command SET defines some high level graphics attributes for commands like VECT/DRAW or HIST/PLOT . Here the HTYP (Histogram hatch TYPe) is defined.
  2. Set the marker type.
  3. By default the parameters of a command are positional but it is possible to assign values by name, i.e. PARAMETER=value . For example we have here CHOPT=L* . In this case the intermediate ``!'' can be suppressed.

    Note also:

  4. The statement RETURN is not mandatory in a macro except if there are several macros in the same file. In this case, a macro within a file can be executed by: EXEC FILENAME#MACRONAME .



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