Hello Rooters. I have a TTree with a branch that contains an array. I would like to plot the values of the array vs. the index. for example, I have Float_t time; Float_t loss[10]; TTree* foo=new TTree("foo","On You"); foo->Branch("time",&time,"time/F"); foo->Branch("loss",&loss,"loss[10]/F"); //fill the tree In a perfect world I'd like to do foo->Draw("loss:i"); and foo->Draw("loss:i:time"); Can you help. I am using ROOT cvs from Monday. -- RAINMAN "How much does a piece of gum cost Ray?" "About $100." "How much does a new car cost Ray?" "`Bout $100." "There goes working for NASA!" ================================================================== Ray Fliller: rfliller@bnl.gov Office Phone: (631)-344-6124 C-A Accelerator Physics Dept. Fax: (631)-344-5954 Building 911B Brookhaven National Lab Upton, NY 11973 Office: Room 211 http://www.agsrhichome.bnl.gov/People/rfliller/ ==================================================================
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:10 MET