In this CERN ROOT Tutorial, we will learn about plotting graphs from data using TGraph in ROOT. We will use four methods for importing data into TGraph.
-Plotting graph directly from a data file
-Use an array to plot graph
-Add each data point one by one
-Use vectors to plot graph
We have written a detailed article on this CERN ROOT Tutorial where you can read and download the programs.
http://techforcurious.website/cern-ro...
Code: https://github.com/anilak41/ROOT_Tuto...
Next CERN ROOT Tutorial: • CERN ROOT Tutorial 3: Modifying the Appear...
Previous CERN ROOT Tutorial: • CERN ROOT Tutorial 1 - Getting Started wit...
CERN ROOT Tutorial Playlist: • CERN ROOT Tutorial
Follow us on:
Facebook: / techforcurious
Twitter: / techforcurious