Marker size in batch mode

From: <nguler_at_jlab.org>
Date: Sat, 17 Oct 2009 21:57:42 -0400


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 - 03:57:50 CEST

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