----- file created by makedoc on: Tue Mar  3 17:24:54 2009
----- Documentation for /scisoft/xop2.3/extensions/shadowvui/src/lib/histosh.pro -----


 function histosh,arr2,w,nbins=nbins,xrange=xrange, $
  plot=plot,swap=swap,erase=erase,fill=fill,yrange=yrange, $
  _extra=extra, binSize=binSize

 (to be used internally bu plotxy and histo1)

 extra: Kwywords passed to plotHisto
 binSize: output keyword
 

 M. Sanchez del Rio, ESRF, June 1995
	97-04-03 srio@esr.fr adds catch.

 06-02-21 srio@esrf.fr Make calculations in double
 07-06-12 srio@esrf.fr reformes it using new histogramW
          and plotHisto
 08-09-12 srio@esrf.eu forces output to have nBins bins (eliminated
          a possible extra bin with expurious round values). 


