Re: Re: [ROOT] suggestion, and a couple of questions

From: Dmitri Litvintsev (litvinse@fnal.gov)
Date: Mon Sep 09 2002 - 18:08:12 MEST


Hi Rene,

Thanks for promt reply.

>I agree with your suggestion. The only problem is that there are many
>more parameters to describe than in PAW. Since most of these parameters are
>described in TStyle, it is probably better if you have a look at all
>the possible settings in TStyle.h

Of course I am looking at all these possible settings in the TStyle.h...

The reason I asked for the picture is that I personally often get confused
by trying to figure the meaning of some settings in TStyle.h, not to mention
that there are quite a few of them. Of course I

> >
question 1:
>>          how can I set the width of the histogram frame from the command
>>          prompt?

>You can set it globally or just for the local pad:
>  -gStyle->SetPadLeftMargin(0.15); //same for right,top,bottom margins
>  -gPad->SetLeftMargin(0.15);


Actually I meant not the margin between histogram frame and Pad edge.

I meant the width of the line of the histogram's frame (or box), the
one which is if being clicked upon says 'TFrame' as a class name in its
context menu.

Right now I am looping over GetListOfPrimitives(), compare class by
name, get pointer and set the line width. I asked the question since
I got tired doing that (these kind of macros tend to get lost :) )

thanks a lot for  gPad->RedrawAxis() tip!

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