Re: TCanvas::BuildLegend & TF1

From: Vassili Maroussov <Vassili.Maroussov_at_cern.ch>
Date: Tue, 3 Aug 2010 18:21:43 +0200


Sorry,

I've used TGraph drawing options with TF1 (standard confusion...), but still: why the result is different for the interpreter and ACLiC?

Regards,

Vassili

On 08/03/2010 05:58 PM, Vassili Maroussov wrote:
> Dear ROOTers,
>
> after running the CheckBuildLegend.C script attached I expect to see
> plots of sine (kBlue) and cosine (kRed) in the same TCanvas with
> legend which contain "Sine" and "Cosine". However, neither in the
> interpreter (.x CheckBuildLegend.C) nor in the ACLiC (.x
> CheckBuildLegend.C+) mode a see both plots, but only the last
> "TF1::Draw". Moreover, resulting plot looks differently in the
> interpreter and ACLiC modes. What's wrong?
>
> Regards,
>
> Vassili
>
> P.S. Linux 2.6.32.16-141.fc12.x86_64, gcc version 4.4.4 20100630 (Red
> Hat 4.4.4-10), ROOT 5.27/05 (trunk_at_34633, Jul 28 2010, 13:31:45 on
> linuxx8664gcc)
>
Received on Tue Aug 03 2010 - 18:21:48 CEST

This archive was generated by hypermail 2.2.0 : Wed Aug 04 2010 - 11:50:01 CEST