Re: Graphics options defaults

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Aug 20 1998 - 15:09:36 MEST


Stephen Bailey wrote:
> 
> Hi.  Some simple graphics options questions:
> 
> * How to I get ROOT to plot black lines on a white background
>   by default?
>   I currently have a histogram plotted and I was able to change
>   the canvas background to white by hand, but the
>   TFrame->SetFillAttributes menu option seems to defy my desire
>   to make its background white.
> 
> * How can I specify the dimensions of the plot in the Postscript file
>   which is saved?  e.g. I want portrait with 1" margins rather
>   than the default of landscape with ~1 cm margins.
> 
> * I'd like to be able to set all my defaults once and then not have
>   to worry about them again.  Where/how should I do that?

Black lines on the white background is the default.
I suggest you look at the tutorials and Root HOWTOs, in particular:
  http://root.cern.ch/root/HowtoPS.html
  http://root.cern.ch/root/HowtoStyle.html

The list of Root HOWTOS is at:
  http://root.cern.ch/root/Howto.html

The list of Root tutorials is at:
  http://root.cern.ch/root/Tutorials.html

I would also recommend the Root course (in 3 parts) at:
  ftp://root.cern.ch/root/course1.ps.gz
  ftp://root.cern.ch/root/course2.ps.gz
  ftp://root.cern.ch/root/course3.ps.gz

Rene Brun



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:36 MET