Dear root'ers, i have a problem with using the scan feature in the TMinuit class. SCAN uses mnplot to display the output, but the output does not contain any points and the labels on the x-axis are corrupted. The program : int main(void) { TROOT simple("simple","Example of creation of a tree"); TM *tm = new TM(3); tm->SetFCN(fcnmin); Double_t y[]= { 5,4,3,2,1,1.5,2,2.5,3,3.5 }; Double_t x[]= { 2,3,4,5,6,7 ,8,9 ,10,11 }; TString ch[]= { "a", "b", "c", "d", "e", "f", "g", "h", "i", "j" }; tm->mnplot(x,y,ch,9,80,20); } generates : 5.25 .. 4.75 .. 4.25 .. 3.75 .. 3.25 .. 2.75 .. 2.25 .. 1.75 .. 1.25 .. 0.75 .. 0.5 .. 1.8a 3.8a 5.8a 7.8a 9.8a ONE COLUMN= 0.2 Overprint character is & Ciao Thomas ---------------------------------------------------------------------------- Thomas Hadig, Ottensen, Donnerstr. 20, D-22763 Hamburg (++49 40 39901186) office : I. Phys. Institut AAC, Room 1c354, Notkestr. 85, D-22603 Hamburg hadig@rwth-aachen.de Tel. ++49 40 8998 2312 http://www-h1.desy.de/~hadig/ FAX ++49 40 8998 4385 ---------------------------------------------------------------------------- In a world without walls and fences, who needs windows and gates ? ----------------------------------------------------------------------------
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:32 MET