Hi Rooters,
I find that when I make a contour plot with TMinuit::contour the curve is not closed. It appears it fails to connect the 1st and last points.
Is there perhaps some drawing option I'm missing?void contourPlot
I do this?
TGraph* contour(TMinuit* gMinuit,Int_t v1,Int_t v2,TString title,TString opt) {
gMinuit->SetErrorDef(2.); // 2-sigma
TGraph* g1=(TGraph*)gMinuit->Contour(40,v2,v1);
Common::graph=new TGraph(*g1);
g1->SetTitle(title);
TString doit="alp";
doit+=opt;
g1->Draw(doit);
return g1;
}
Thanks.
A.E. Snyder, Group EC \!c*p?/ SLAC Mail Stop #95 ((. .)) Box 4349 | Stanford, Ca, USA, 94309 '\|/` e-mail:snyder_at_slac.stanford.edu o phone:650-926-2701 _ http://www.slac.stanford.edu/~snyder BaBar FAX:650-926-2657 CollaborationReceived on Sat Feb 03 2007 - 02:36:34 CET
This archive was generated by hypermail 2.2.0 : Sat Feb 03 2007 - 11:50:00 CET