Hello!
I was trying to create a new LineStyle with
TGX11::SetLineType(..) function.
I need to use various dash length for different histograms
and for some reason I can not do that.
Could anybody help me, please?
Int_t ds[4] = {5,3,1,3};
void settype()
{
TH1F *Data = new TH1F("Data","Gaussian",100,-0.5,0.5);
for (Int_t i=0;i<5000;i++) Data->Fill(gRandom->Gaus(0,0.05));
Data->SetMarkerStyle(21);
Data->SetMarkerSize(0.8);
//Data->SetLineStyle(4);
Data->TGX11::SetLineType(4,ds);
Data->SetLineWidth(2);
Data->Draw();
}
Thank you,
Rustam
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:16 MET