Hello all,
I want to plot a bi-dim function/histo with, say, red color :
TF2 *fun2 = new TF2("fun2","sin(x)*sin(y)",0.,3.1416,0.,3.1416);
fun2->SetLineColor(2);
fun2->Draw("lego");
(fun2->GetHistogram())->SetLineColor(2);
(fun2->GetHistogram())->Draw("lego");
In both cases, the resulting plot is black.
How does one obtain lego plots with coloured lines ?
(Using version 2.23/04.)
Thanks and best regards,
David d'Enterria
¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬
Groupe Photons Subatech http://www-subatech.in2p3.fr/~photons/
mailto:enterria@in2p3.fr phone: +33.2.51.85.85.60
¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬
Grup Física Radiacions UAB http://cc.uab.es/~iffr1/
mailto:d.enterria@cc.uab.es phone: +3493.581.13.64
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:43 MET