Examples showing the "histograms' classes" usage.
Files | |
file | candledecay.C |
Candle Decay, illustrate a time development of a certain value. | |
file | candlehisto.C |
Example showing how to combine the various candle plot options. | |
file | candleplot.C |
Example of candle plot with 2-D histograms. | |
file | candleplotoption.C |
Example showing how to combine the various candle plot options. | |
file | candleplotstack.C |
Example showing how a THStack with candle plot option. | |
file | candleplotwhiskers.C |
Example of candle plot showing the whiskers definition. | |
file | candlescaled.C |
Candle Scaled, illustrates what scaling does on candle and violin charts. | |
file | ContourList.C |
Getting Contours From TH2D. | |
file | cumulative.C |
Illustrate use of the TH1::GetCumulative method. | |
file | draw2dopt.C |
Display the various 2-d drawing options | |
file | DynamicSlice.C |
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 |
A TH2Poly build with Fibonacci numbers. | |
file | fillhistosauto2p.C |
Fill multiple histograms with different functions and automatic binning. | |
file | fillrandom.C |
Fill a 1-D histogram from a parametric function. | |
file | fillrandom.py |
Fill a 1-D histogram from a parametric function. | |
file | FirstContour.C |
Make a contour plot and get the first contour in a TPolyMarker. | |
file | greyscale.C |
Create grey scale of 200 x 200 boxes. | |
file | h1ReadAndDraw.C |
Read a 1-D histogram from a ROOT File and draw it. | |
file | h2_cut.C |
This example demonstrates how to display a 2D histogram and use TCutG object to select bins for drawing. | |
file | h2proj.C |
This example demonstrates how to display a histogram and its two projections. | |
file | hbars.C |
Example of bar charts with 1-d histograms. | |
file | histpalettecolor.C |
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 |
Illustrates the advantages of a TH1K histogram | |
file | hlabels1.C |
1-D histograms with alphanumeric labels | |
file | hlabels2.C |
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 |
Example of stacked histograms: class THStack. | |
file | hstackpads.C |
Drawing stack histograms on subpads. | |
file | hsum.C |
Histograms filled and drawn in a loop. | |
file | hsumTimer.C |
Demo of Timers. | |
file | legendautoplaced.C |
The legend can be placed automatically in the current pad in an empty space found at painting time. | |
file | logscales.C |
Draw parametric functions with log scales. | |
file | movepalette.C |
| |
file | multicolor.C |
Use a THStack to show a 2-D hist with cells with different colors. | |
file | NormalizeHistogram.C |
Normalizing a Histogram | |
file | ratioplot1.C |
Example creating a simple ratio plot of two histograms using the pois division option. | |
file | ratioplot1.py |
Example creating a simple ratio plot of two histograms using the pois division option. | |
file | ratioplot2.C |
Example of a fit residual plot. | |
file | ratioplot2.py |
Example of a fit residual plot. | |
file | ratioplot3.C |
Example which shows how you can get the graph of the lower plot and set the y axis range for it. | |
file | ratioplot3.py |
Example which shows how you can get the graph of the lower plot and set the y axis range for it. | |
file | ratioplot4.C |
Example that shows custom dashed lines on the lower plot, specified by a vector of floats. | |
file | ratioplot4.py |
Example that shows custom dashed lines on the lower plot, specified by a vector of floats. | |
file | ratioplot5.C |
Example that shows how you can set the colors of the confidence interval bands by using the method TRatioPlot::SetConfidenceIntervalColors . | |
file | ratioplot5.py |
Example that shows how you can set the colors of the confidence interval bands by using the method TRatioPlot::SetConfidenceIntervalColors . | |
file | ratioplot6.C |
Example showing a fit residual plot, where the separation margin has been set to 0. | |
file | ratioplot6.py |
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 |
Rebin a variable bin-width histogram. | |
file | reverseaxis.C |
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 |
Edit statistics box. | |
file | testSmooth.C |
Histogram smoothing. | |
file | th2polyBoxes.C |
This tutorial illustrates how to create an histogram with polygonal bins (TH2Poly). | |
file | th2polyEurope.C |
This tutorial illustrates how to create an histogram with polygonal bins (TH2Poly), fill it and draw it. | |
file | th2polyHoneycomb.C |
This tutorial illustrates how to create an histogram with hexagonal bins (TH2Poly). | |
file | th2polyUSA.C |
This tutorial illustrates how to create an histogram with polygonal bins (TH2Poly), fill it and draw it using the col option. | |
file | thstack2palettecolor.C |
Palette coloring for 2D histograms' stack is activated thanks to the option PFC (Palette Fill Color). | |
file | thstackcolorscheme.C |
| |
file | thstackpalettecolor.C |
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 |
Different charges depending on region | |
file | tprofile2polyRealisticModuleError.C |
Simulate faulty detector panel w.r.t. | |
file | transpad.C |
Example of a canvas showing two histograms with different scales. | |
file | twoscales.C |
Example of macro illustrating how to superimpose two histograms with different scales in the "same" pad. | |
file | twoscales.py |
Example of macro illustrating how to superimpose two histograms with different scales in the "same" pad. | |
file | xyplot.C |
Example showing how to produce a plot with an orthogonal axis system centered at (0,0). | |
file | ZoomHistogram.C |
Changing the Range on the X-Axis of a Histogram | |