Error bars on TGraph

Hi I have a TGraph made with data from a google sheet that I made. I have another set of data that is the standard error for all of the 10 points on the TGraph but I am not sure how to turn that data into actual error bars. How do you make error bars on TGraphs?

Read the Documentation; in particular, search for TGraphErrors.

1 Like

Hi @Zach ,
indeed TGraphErrors seems to be what you are looking for. The primer to which @dastudillo linked has an example usage, the graphs tutorials have some more (e.g. the “gerrors” tutorials).

Hope this helps!
Enrico

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.