Can't set axis titles for graphs

From: Rafael Arco Arredondo <>
Date: Thu, 18 Aug 2005 12:56:01 +0200


I'm having some problems setting the axis titles in a graph, after using the TTree::Draw member function with the '>>' option to save the contents into a graph (if I build the graph with

TGraph* graph = new TGraph(items, tree -> GetV2(), tree -> GetV1());

I do set the axis titles correctly.

I attach one macro that shows the problem. The TTree the macro uses is rather big so I do not attach it, although you can find it at /afs/ (for people who have access to CERN's AFS).

Thanks in advance,


Rafael Arco Arredondo <>

Received on Thu Aug 18 2005 - 13:00:06 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:11 MET