matrix_histogram::init

Source: stream/matrix/Histogram/matrix_histogram__init.pro

 matrix_histogram::init
        Constructor for matrix histograms.

 Usage:
        histref=obj_new("matrix_histogram", parent, origin, ...)

 Arguments:
        parent  objref  input   An object reference to the dataset
                                containing this histogram.
        origin  struct  input   A structure as returned by
                                matrix_dataset::locate 

 Keywords:
        along           If set, then make a histogram along the track.
        direction int   Set a direction for histograms across the
                        track, one of 0, 45, 90 or 135 (degrees).
        menu            If set, then use a menu to select the options.
        group   long    A widget group leader for the menu.
        name    String  A mnemonic name for the histogram.
        length  int     The length of the histogram each way from the
                        origin.
        width   int     The width of the histigram each side of the
                        origin.

 Notes:
        The along and direction keys are exclusive, if neither is
        given then direction=90 is assumed.
        The length and width keys are ignored for along histograms.

 History:
        Original: 9/8/00; SJT



James Tappin 2005-02-04