TCanvas::BuildLegend & TF1

From: Vassili Maroussov <Vassili.Maroussov_at_cern.ch>
Date: Tue, 3 Aug 2010 17:58:29 +0200


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)

CheckBuildLegendBare.png CheckBuildLegendACLiC.png
Received on Tue Aug 03 2010 - 17:58:41 CEST

This archive was generated by hypermail 2.2.0 : Tue Aug 03 2010 - 23:50:01 CEST