Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
Histograms tutorials

Examples showing the "histograms' classes" usage.

Files

file  candledecay.C
  View in nbviewer Open in SWAN Candle Decay, illustrate a time development of a certain value.
 
file  candlehisto.C
  View in nbviewer Open in SWAN Example showing how to combine the various candle plot options.
 
file  candleplot.C
  View in nbviewer Open in SWAN Example of candle plot with 2-D histograms.
 
file  candleplotoption.C
  View in nbviewer Open in SWAN Example showing how to combine the various candle plot options.
 
file  candleplotstack.C
  View in nbviewer Open in SWAN Example showing how a THStack with candle plot option.
 
file  candleplotwhiskers.C
  View in nbviewer Open in SWAN Example of candle plot showing the whiskers definition.
 
file  candlescaled.C
  View in nbviewer Open in SWAN Candle Scaled, illustrates what scaleing does on candle and violin charts.
 
file  ContourList.C
  View in nbviewer Open in SWAN Getting Contours From TH2D.
 
file  cumulative.C
  View in nbviewer Open in SWAN Illustrate use of the TH1::GetCumulative method.
 
file  draw2dopt.C
  View in nbviewer Open in SWAN Display the various 2-d drawing options
 
file  DynamicSlice.C
  View in nbviewer Open in SWAN Show the slice of a TH2 following the mouse position.
 
file  exec1.C
 Echo object at mouse position.
 
file  exec2.C
 Echo object at mouse position and show a graphics line.
 
file  Fibonacci.C
  View in nbviewer Open in SWAN A TH2Poly build with Fibonacci numbers.
 
file  fillhistosauto2p.C
 Fill multiple histograms with different functions and automatic binning.
 
file  fillrandom.C
  View in nbviewer Open in SWAN Fill a 1-D histogram from a parametric function.
 
file  fillrandom.py
  View in nbviewer Open in SWAN Fill a 1-D histogram from a parametric function.
 
file  FirstContour.C
  View in nbviewer Open in SWAN Make a contour plot and get the first contour in a TPolyMarker.
 
file  greyscale.C
  View in nbviewer Open in SWAN Create grey scale of 200 x 200 boxes.
 
file  h1draw.C
  View in nbviewer Open in SWAN 1-D histogram drawing options.
 
file  hbars.C
  View in nbviewer Open in SWAN Example of bar charts with 1-d histograms.
 
file  histpalettecolor.C
  View in nbviewer Open in SWAN Palette coloring for histogram is activated thanks to the options PFC (Palette Fill Color), PLC (Palette Line Color) and AMC (Palette Marker Color).
 
file  hksimple.C
  View in nbviewer Open in SWAN Illustrates the advantages of a TH1K histogram
 
file  hlabels1.C
  View in nbviewer Open in SWAN 1-D histograms with alphanumeric labels
 
file  hlabels2.C
  View in nbviewer Open in SWAN 2-D histograms with alphanumeric labels.
 
file  hlHisto1.C
 This tutorial demonstrates how the highlight mechanism can be used on an histogram.
 
file  hlHisto2.C
 This tutorial demonstrates how the highlight mechanism can be used on an histogram.
 
file  hlHisto3.C
 This tutorial demonstrates how the highlight mechanism can be used on a ntuple.
 
file  hlHisto4.C
 This tutorial demonstrates how the highlight mechanism can be used on an histogram.
 
file  hstack.C
  View in nbviewer Open in SWAN Example of stacked histograms: class THStack.
 
file  hsum.C
  View in nbviewer Open in SWAN Histograms filled and drawn in a loop.
 
file  hsumTimer.C
  View in nbviewer Open in SWAN Demo of Timers.
 
file  legendautoplaced.C
  View in nbviewer Open in SWAN The legend can be placed automatically in the current pad in an empty space found at painting time.
 
file  logscales.C
  View in nbviewer Open in SWAN Draw parametric functions with log scales.
 
file  multicolor.C
  View in nbviewer Open in SWAN Use a THStack to show a 2-D hist with cells with different colors.
 
file  ratioplot1.C
  View in nbviewer Open in SWAN Example creating a simple ratio plot of two histograms using the pois division option.
 
file  ratioplot1.py
  View in nbviewer Open in SWAN Example creating a simple ratio plot of two histograms using the pois division option.
 
file  ratioplot2.C
  View in nbviewer Open in SWAN Example of a fit residual plot.
 
file  ratioplot2.py
  View in nbviewer Open in SWAN Example of a fit residual plot.
 
file  ratioplot3.C
  View in nbviewer Open in SWAN Example which shows how you can get the graph of the lower plot and set the y axis range for it.
 
file  ratioplot3.py
  View in nbviewer Open in SWAN Example which shows how you can get the graph of the lower plot and set the y axis range for it.
 
file  ratioplot4.C
  View in nbviewer Open in SWAN Example that shows custom dashed lines on the lower plot, specified by a vector of floats.
 
file  ratioplot4.py
  View in nbviewer Open in SWAN Example that shows custom dashed lines on the lower plot, specified by a vector of floats.
 
file  ratioplot5.C
  View in nbviewer Open in SWAN Example that shows how you can set the colors of the confidence interval bands by using the method TRatioPlot::SetConfidenceIntervalColors.
 
file  ratioplot5.py
  View in nbviewer Open in SWAN Example that shows how you can set the colors of the confidence interval bands by using the method TRatioPlot::SetConfidenceIntervalColors.
 
file  ratioplot6.C
  View in nbviewer Open in SWAN Example showing a fit residual plot, where the separation margin has been set to 0.
 
file  ratioplot6.py
  View in nbviewer Open in SWAN Example showing a fit residual plot, where the separation margin has been set to 0.
 
file  ratioplotOld.C
 Example displaying two histograms and their ratio.
 
file  rebin.C
  View in nbviewer Open in SWAN Rebin a variable bin-width histogram.
 
file  reverseaxis.C
  View in nbviewer Open in SWAN Example showing an histogram with reverse axis.
 
file  sparsehist.C
 Evaluate the performance of THnSparse vs TH1/2/3/nF for different numbers of dimensions and bins per dimension.
 
file  statsEditing.C
  View in nbviewer Open in SWAN Edit statistics box.
 
file  testSmooth.C
  View in nbviewer Open in SWAN Histogram smoothing.
 
file  th2polyBoxes.C
  View in nbviewer Open in SWAN This tutorial illustrates how to create an histogram with polygonal bins (TH2Poly).
 
file  th2polyEurope.C
  View in nbviewer Open in SWAN This tutorial illustrates how to create an histogram with polygonal bins (TH2Poly), fill it and draw it.
 
file  th2polyHoneycomb.C
  View in nbviewer Open in SWAN This tutorial illustrates how to create an histogram with hexagonal bins (TH2Poly).
 
file  th2polyUSA.C
  View in nbviewer Open in SWAN This tutorial illustrates how to create an histogram with polygonal bins (TH2Poly), fill it and draw it using the col option.
 
file  thstack2palettecolor.C
  View in nbviewer Open in SWAN Palette coloring for 2D histograms' stack is activated thanks to the option PFC (Palette Fill Color).
 
file  thstackpalettecolor.C
  View in nbviewer Open in SWAN Palette coloring for histograms' stack is activated thanks to the options PFC (Palette Fill Color), PLC (Palette Line Color) and AMC (Palette Marker Color).
 
file  tprofile2polyRealistic.C
  View in nbviewer Open in SWAN Different charges depending on region
 
file  tprofile2polyRealisticModuleError.C
  View in nbviewer Open in SWAN Simulate faulty detector panel w.r.t.
 
file  transpad.C
  View in nbviewer Open in SWAN Example of a canvas showing two histograms with different scales.
 
file  twoscales.C
  View in nbviewer Open in SWAN Example of macro illustrating how to superimpose two histograms with different scales in the "same" pad.
 
file  twoscales.py
  View in nbviewer Open in SWAN Example of macro illustrating how to superimpose two histograms with different scales in the "same" pad.
 
file  xyplot.C
  View in nbviewer Open in SWAN Example showing how to produce a plot with an orthogonal axis system centered at (0,0).