1 Vectors

  While vectors as such do not exist in Mn_Fit, you can use registers
  and/or a series of points for almost all such purposes. A series of
  x and y values can be read in from a table using the `DAT_FETCH'
  command. If you want to store a series of x and y values, e.g. the
  results of a fit to a series of histograms, book an unbinned
  histogram and then fill it with the results.

2 Examples

!\begin{enumerate}
!\item
!^
  Example 1:

   Fit a series of histograms 1&1 to 1&20 with a Gaussian and plot the
   area as a function of the histogram number:

   fun del 0
   fun add gaus s
   1000 100
   0 0.5
   1 2
   ! Book the results plot
   book/unbin/err 1 'Fit results' 1 20
   do i=1,20
     fit/like 10&@i
     minimize
     display
     fill 1 @i p1(1) 0.5 err1(1)
   enddo
   ! Set the limits of the result histogram properly
   part 1 0 21
   plot 1

!\end{enumerate}

