Hi,
i have a funny problem using RooT version 5.08.00.
I open a psFile like this:
TPostScript psFile( “test.ps”, 112);
TCanvas *canv = new TCanvas(“canv”, “dump_data”, 600, 600);
psFile.NewPage();
((TH1F*)histList[j])->SetLineWidth(3.);
((TH1F*)histList[j])->SetLineColor(2.);
((TH1F*)histList[j])->SetFillColor(2.);
((TH1F*)histList[j])->SetFillStyle(3004.);
((TH1F*)histList[j])->Draw();
canv->RedrawAxis();
canv->Update();
…
canv->Close();
psFile.Close();
delete canv;
i get the hatch style on the screen, but not in the ps file.
Also printing the canvas interactively in the GUI does not
result in a ps/eps file with hatched histogram. If i print it
as gif it works.
If i comment the FillStyle command i get the filled histogram
both on the screen and in the ps file. Can anyone help me
getting hatch style where i want it preferencially.
Many thanx and cheers,
Roger