Hi Rooters, It seems that something is missing in SetPolyMarker() method. At least the following macro do not draw the points. If one change the marked line to a->SetPoint( 0, 1, 1, 1 ); a->SetPoint( 1, 2, 3, 4 ); everythig is ok. Regards Valeri pm.C ----------------------------------------- { gROOT->Reset(); sky = new TCanvas( "sky", "Test", 300, 10, 700, 500 ); sky->SetFillColor(38); Float_t p[2][3]={ {1,1,1}, {2,3,4} }; TView *v1 = new TView(1); v1->SetRange(0,0,0,5,5,5); TPolyMarker3D *a = new TPolyMarker3D(); a->SetPolyMarker(2,p,20); // the marked line a->SetMarkerColor(4); a->SetMarkerSize(5); a->SetMarkerStyle(20); a->Draw(); sky->Update(); Float_t *pp=0; pp = a->GetP(); printf("%f %f %f %f %f %f \n", pp[0], pp[1], pp[2], pp[3],pp[4],pp[5]); }
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:32 MET