ROOT   6.17/01 Reference Guide
Graphs tutorials

Examples showing the "graphs classes" usage..

## Files

file  annotation3d.C
This example show how to put some annotation on a 3D plot using 3D polylines.

file  approx.C
Macro to test interpolation function Approx

file  bent.C
Bent error bars

file  bent.py
Bent error bars.

file  exclusiongraph.C
Draw three graphs with an exclusion zone.

file  exclusiongraph2.C
Draw several graphs with an exclusion zones.

file  gerrors.C
Draw a graph with error bars

file  gerrors2.C
Draw two graphs with error bars

file  graph.C
Draw a simple graph.

file  graph2derrorsfit.C
Draw and fit a TGraph2DErrors

file  graphApply.C
A macro to demonstrate the functionality of TGraph::Apply() method.

file  graphpalettecolor.C
Palette coloring for graphs is activated thanks to the options PFC (Palette Fill Color), PLC (Palette Line Color) and AMC (Palette Marker Color).

file  graphpolar.C
Create and draw a polar graph.

file  graphpolar2.C
Create and draw a polar graph with PI axis

file  graphpolar3.C
Create and draw a polar graph with PI axis using a TF1.

Show how to shade an area between two graphs

file  graphtext.C
Draw a graph with text attached to each point.

file  gtime.C
Example of TGraphTime.

file  gtime2.C
Example of TGraphTime showing how the class could be used to visualize a set of particles with their time stamp in a MonteCarlo program.

file  hlGraph2.C
This tutorial demonstrates how to use the highlight mode on graph.

file  labels1.C
Setting alphanumeric labels in a 1-d histogram.

file  labels2.C
Setting alphanumeric labels.

file  motorcycle.C
Macro to test scatterplot smoothers: ksmooth, lowess, supsmu as described in:

file  multigraph.C
Create and Draw a TMultiGraph.

file  multigraphpalettecolor.C
Palette coloring for multi-graphs is activated thanks to the options PFC (Palette Fill Color), PLC (Palette Line Color) and AMC (Palette Marker Color).

file  multipalette.C
Draw color plots using different color palettes.

file  seism.C
Strip chart example.

file  splines_test.C
Examples of use of the spline classes.

file  surfaces.C
Draw 2-Dim functions.

file  timeonaxis.C
This macro illustrates the use of the time mode on the axis with different time intervals and time formats.

file  timeonaxis2.C
Define the time offset as 2003, January 1st.

file  timeonaxis3.C
This example compares what the system time function gmtime and localtime give with what gives TGaxis.

file  timeSeriesFromCSV.C
This macro illustrates the use of the time axis on a TGraph with data read from a text file containing the SWAN usage statistics during July 2017.

file  timeSeriesFromCSV.py
This macro illustrates the use of the time axis on a TGraph with data read from a text file containing the SWAN usage statistics during July 2017.

file  timeSeriesFromCSV_TDF.C
This macro illustrates the use of the time axis on a TGraph with data read from a text file containing the SWAN usage statistics during July 2017.

file  waves.C
Hint: Spherical waves

file  zdemo.C
This macro is an example of graphs in log scales with annotations.

file  zones.C
Example of script showing how to divide a canvas into adjacent subpads + axis labels on the top and right side of the pads.

file  zones.py
Example of script showing how to divide a canvas into adjacent subpads + axis labels on the top and right side of the pads.