Hi everyone,
I am trying to draw a 2D scatter plot with "colz" option. But I am not able to change marker style/marker size.
By default "colz" option takes marker style (1) which is too small and different colours are quite faded. How can I change the style and size? Following what I am trying to do :
TH2F *h_2d = new TH2F("h_2d","", 1000, 0, 50, 1000, 0, 50);
TStyle *myStyle = new TStyle("myStyle","my style");
myStyle->SetPalette(1,0);
myStyle->cd();
gStyle->SetOptStat(0);
{
.
.
.
.
h_2d->Fill(,)
.
.
.
}
h_2d->SetMarkerStyle(29); h_2d->SetMarkerSize(1.2); h_2d->Draw("colz");
Thanks for any help.
Regards
Monika
Received on Tue Jun 27 2006 - 15:07:03 MEST
This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:31:59 MET