I want to save TGraph objects together with their axis titles in a root file such that when opened with TBrowser the axis titles are shown. When I write the TGraph objects to a root file after setting the axis titles the axis titles disappear when the TGraph objects are viewed in the TBrowser. I have found similar topics discussing this subject but they all do not give a clear solution to my problem.
What I sometimes do is save the canvas on which the graph is, in that case I don’t have problems with viewing the titles in the TBrowser. I don’t remember if I ever tried just saving the graph and having problems with viewing the titles in a TBrowser.
I added canvasses prior to the creation of the TGraphs and now it works. Still think it is weird that that should influence the output on the TBrowser since I do not save the canvas.