Re: Re: [ROOT] PostScript, Pave and hatched style

From: Dmitri Litvintsev (litvinse@fnal.gov)
Date: Mon Sep 09 2002 - 17:48:42 MEST


Thanks Olivier,

actally I made typos in the example I sent, These are my commands:

root [0] gROOT->SetStyle("Plain");
root [1] TCanvas* c2 = new TCanvas("c2","c2",800,600);
root [2] TPave* pave = new TPave(0.1,0.1,0.9,0.9);
root [3] pave->SetFillColor(0);
root [4] pave->SetFillStyle(3013); // supposed to be cross-hatched
root [5] pave->SetFillColor(1);
root [6] c2->cd();
root [7] pave->Draw();
root [8] c2->SaveAs("test.ps");
Info in <TCanvas::TPad::Print>: PostScript file test.ps has been created
root [9] .!gs test.ps
GNU Ghostscript 5.50 (2000-2-13)
<SNIP> ........ <SNIP

GS shows the file fine (hatches shown), gv does not!

Yes I can print the file fine

kernel 2.4.18, RH7.1, root Version   3.03/07     5 August 2002, FermiMade

regards,
Dmitri Litvintsev

/----------------------------------------------------------\
| Tel:       (630) 840 5005                                |
| FAX:       (630) 840 2968                                |
| office:    149-L CDF Trailers                            |
| E-mail:    litvinse@fnal.gov                             |
\----------------------------------------------------------/



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:09 MET