Hi Dmitri,
Your macro works for me with both gs and gv. So it really seems that you
do not have a good gv version. My gv is 3.5.2 (given with gv -v). Can you
check which gv you have ?
Cheers, Olivier
--
Org: CERN - European Laboratory for Particle Physics.
Mail: 1211 Geneve 23 - Switzerland
E-Mail: Olivier.Couet@cern.ch Phone: +41 22 7676522
WWW: http://cern.ch/Olivier.Couet/ Fax: +41 22 7677155
On Mon, 9 Sep 2002, Dmitri Litvintsev wrote:
>
> 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