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

Examples showing the "graphs classes" usage.

Files

file  annotation3d.C
  View in nbviewer Open in SWAN
This example show how to put some annotation on a 3D plot using 3D polylines.
 
file  approx.C
  View in nbviewer Open in SWAN
Macro to test interpolation function Approx
 
file  bent.C
  View in nbviewer Open in SWAN
Bent error bars
 
file  bent.py
  View in nbviewer Open in SWAN
Bent error bars.
 
file  exclusiongraph.C
  View in nbviewer Open in SWAN
Draw three graphs with an exclusion zone.
 
file  exclusiongraph2.C
  View in nbviewer Open in SWAN
Draw several graphs with an exclusion zones.
 
file  gerrors.C
  View in nbviewer Open in SWAN
Draw a graph with error bars
 
file  gerrors2.C
  View in nbviewer Open in SWAN
Draw two graphs with error bars
 
file  gmultierrors.C
  View in nbviewer Open in SWAN
Draw a graph with multiple y errors
 
file  graph.C
  View in nbviewer Open in SWAN
Draw a simple graph.
 
file  graph2derrorsfit.C
  View in nbviewer Open in SWAN
Draw and fit a TGraph2DErrors
 
file  graphApply.C
  View in nbviewer Open in SWAN
A macro to demonstrate the functionality of TGraph::Apply() method.
 
file  graphpalettecolor.C
  View in nbviewer Open in SWAN
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
  View in nbviewer Open in SWAN
Create and draw a polar graph.
 
file  graphpolar2.C
  View in nbviewer Open in SWAN
Create and draw a polar graph with PI axis
 
file  graphpolar3.C
  View in nbviewer Open in SWAN
Create and draw a polar graph with PI axis using a TF1.
 
file  graphreverse.C
  View in nbviewer Open in SWAN
This example test all the various case of reverse graphs combined with logarithmic scale.
 
file  graphShade.C
  View in nbviewer Open in SWAN
Show how to shade an area between two graphs
 
file  graphstruct.C
  View in nbviewer Open in SWAN
Draw a simple graph structure.
 
file  graphtext.C
  View in nbviewer Open in SWAN
Draw a graph with text attached to each point.
 
file  gtime.C
  View in nbviewer Open in SWAN
Example of TGraphTime.
 
file  gtime2.C
  View in nbviewer Open in SWAN
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
  View in nbviewer Open in SWAN
Setting alphanumeric labels in a 1-d histogram.
 
file  labels2.C
  View in nbviewer Open in SWAN
Setting alphanumeric labels.
 
file  motorcycle.C
  View in nbviewer Open in SWAN
Macro to test scatterplot smoothers: ksmooth, lowess, supsmu as described in:
 
file  multigraph.C
  View in nbviewer Open in SWAN
Create and Draw a TMultiGraph.
 
file  multigraphpalettecolor.C
  View in nbviewer Open in SWAN
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
  View in nbviewer Open in SWAN
Draw color plots using different color palettes.
 
file  scatter.C
  View in nbviewer Open in SWAN
Draw a scatter plot.
 
file  seism.C
  View in nbviewer Open in SWAN
Strip chart example.
 
file  splines_test.C
  View in nbviewer Open in SWAN
Examples of use of the spline classes.
 
file  surfaces.C
  View in nbviewer Open in SWAN
Draw 2-Dim functions.
 
file  timeonaxis.C
  View in nbviewer Open in SWAN
This macro illustrates the use of the time mode on the axis with different time intervals and time formats.
 
file  timeonaxis2.C
  View in nbviewer Open in SWAN
Define the time offset as 2003, January 1st.
 
file  timeonaxis3.C
  View in nbviewer Open in SWAN
This example compares what the system time function gmtime and localtime give with what gives TGaxis.
 
file  timeSeriesFromCSV.C
  View in nbviewer Open in SWAN
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
  View in nbviewer Open in SWAN
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
  View in nbviewer Open in SWAN
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
  View in nbviewer Open in SWAN
Hint: Spherical waves
 
file  zdemo.C
  View in nbviewer Open in SWAN
This macro is an example of graphs in log scales with annotations.
 
file  zones.C
  View in nbviewer Open in SWAN
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
  View in nbviewer Open in SWAN
Example of script showing how to divide a canvas into adjacent subpads + axis labels on the top and right side of the pads.