Dear Rooters, i have problem with plotting 1-D Histograms using polymarkers and an logarithmic x-axis. The following code segment works fine, if a remove the c->SetLogx(1); line and/or replace h->Draw("P"); by h->Draw(); In the way i included it here, i only the the frame, but see not markers. I am using ROOT version * Version 2.22/10 28 July 1999 * on SGI. { TH1F *h = new TH1F("a","b",2,1, 10); h->SetBinContent(1, 20); h->SetBinContent(2, 2); h->SetMinimum(1); h->SetMaximum(30); TCanvas *c = new TCanvas("c","d"); c->SetLogx(1); c->Draw(); h->SetMarkerStyle(20); h->Draw("P"); } Ciao and thanks for your help. Thomas ---------------------------------------------------------------------------- Thomas Hadig, Ottensen, Donnerstr. 20, D-22763 Hamburg (+49 40 39901186) office : I. Phys. Institut AAC, Room 1c354, Notkestr. 85, D-22607 Hamburg hadig@rwth-aachen.de Tel. +49 40 8998 2312 http://www-h1.desy.de/~hadig/ FAX +49 40 8998 4385 ---------------------------------------------------------------------------- Windows - the user friendly interface! Brought to you by the makers of EDLIN ----------------------------------------------------------------------------
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:40 MET