Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
df021_createTGraph.py File Reference

Detailed Description

View in nbviewer Open in SWAN
Fill a TGraph using RDataFrame.

import ROOT
# Create a trivial parabola
dd = d.Alias("x", "rdfentry_").Define("y", "x*x")
graph = dd.Graph("x", "y")
# This tutorial is ran with multithreading enabled. The order in which points are inserted is not known, so to have a meaningful representation points are sorted.
graph.Draw("APL")
c.SaveAs("df021_createTGraph.png")
print("Saved figure to df021_createTGraph.png")
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
ROOT's RDataFrame offers a modern, high-level interface for analysis of data stored in TTree ,...
Date
July 2018
Authors
Enrico Guiraud, Danilo Piparo (CERN), Massimo Tumolo (Politecnico di Torino)

Definition in file df021_createTGraph.py.