Hi,
Thinking of it thats' not that easy. You can do:
t->Draw("a*(b==1):a*(b==2):a*(b==3)","","candle");
But I am not sure that's what you want.
Best,
Olivier
On Jun 8, 2012, at 3:00 PM, Georg Troska wrote:
Hi,
sorry, but how do I make functions like these?
Can you give me a short example?
Thanks
Georg
t->Draw("a{b==1}:a{b==2}:a{b==3}","","candle")
You can do that already . may be just making 3 function doing the
selection.
Then you plot the 3 functions.
(f1:f2:f3?)
On Jun 4, 2012, at 8:57 AM, Georg Troska wrote:
Hi everybody,
I just discovered the "candle"-draw option. Very nice. But when I'm trying
t->Draw("a:b","","candle")
I will get two candles with the whole distributions of "a" and "b", What
I
actually want are candles of "a" differentiated by all subtypes of "b".
Something like
t->Draw("a{b==1}:a{b==2}:a{b==3}","","candle")
I thought as the common "a:b" draw-option shows a TH2 of what I actually want it would be possible to show it that way. I could also cast it from TH2. Is there a way?
Georg Received on Fri Jun 08 2012 - 16:00:59 CEST
This archive was generated by hypermail 2.2.0 : Fri Jun 08 2012 - 17:50:01 CEST