set a line in a TH2 ("POL") plot

From: Dan Holmes <dan.holmes_at_cern.ch>
Date: Tue, 3 Jun 2008 15:32:42 +0200


Hello,

(2) related questions;

I have a TH2 Polar plot, How do i make an angular axis pop up?

i would like to segment it into slices in the angular coordinate. Do you know how i can draw a line at theta=0,x,y,z etc..? ..so that when i spin the graphics box, the lines still move with the axis.

*snippet of plotting code below*

cheers,

Dan.

TH2F *CSCTF_etaPhiPlot = f.Get("SPTrack Eta-phi"); TCanvas * CSCTF_etaPhi_PlotCanv = new TCanvas("eta-phi","eta-phi",1); CSCTF_etaPhiPlot->Draw("POL,LEGO1");

..looks pretty but has no axis...

-- 
Dan Holmes         +41 76 48 75 404
http://www.cern.ch/dan.holmes
Received on Tue Jun 03 2008 - 15:32:51 CEST

This archive was generated by hypermail 2.2.0 : Tue Jun 03 2008 - 17:50:01 CEST