Re: Marker size in batch mode

From: Rene Brun <Rene.Brun_at_cern.ch>
Date: Sun, 18 Oct 2009 09:36:57 +0200


I cannot reproduce your problem. Could you send your canvas.root file ?

Rene Brun

nguler_at_jlab.org wrote:
> Hello,
> I use ROOT 5.22/00.
> When I run in batch mode, it appears the picture quality decreases, but,
> especially my problem is that, the marker sizes get bigger. I cannot send the
> whole scripts, since it it large but if I summarize:
>
> I define a frame:
> TH1 *frame1 = c1->DrawFrame(xmin,ymin,xmax,ymax);
> Then define TGraphErrors and set the marker size as:
> TG_data = new TGraphErrors(npt,ax,ay,axerr,ayerr);
> TG_data->SetMarkerStyle(25);
> TG_data->SetMarkerSize(1.6);
> And print a gif file,
> c1->Print(picName);
> I also tried other method to print the picture,
> c1.Print("temp.eps");
> gSystem->Exec("pstopnm -ppm -xborder 0 -yborder 0 -portrait -xsize 900
> -ysize 700 temp.eps");
> char tempCommand[300];
> sprintf(tempCommand,"ppmtogif temp.eps001.ppm > %s",picName);
> gSystem->Exec(tempCommand);
> But produced same result.
>
> I wonder if anyone else encountered a similar, or the same problem.
> I will appreciate your help.
> Sincerely, - Nevzat Guler
>
>
>
>
>
>
>
Received on Sun Oct 18 2009 - 09:37:02 CEST

This archive was generated by hypermail 2.2.0 : Sun Oct 18 2009 - 23:50:02 CEST