Re: null -180 180 1e-4 1e-1

From: Olivier Couet <couet_at_mail.cern.ch>
Date: Wed, 11 May 2005 15:09:39 +0200 (CEST)

Hi Jean-Eric,

 This sequence of PAW commands won't work either. You missed OPT LINY before H/PLOT. it should be:

opt linx
opt logy
Null -180 180 1e-4 1e-1

OPT LINY | <=======================

h/pl <my-2d-plot> s

You cannot do something like that in ROOT because if you do gPad->SetLiny() just before plotting the histogram the null frame will be redrawn as linear.
 I guess there is several solutions to your problem. I can think of 2: 1) create an overlay transparent pad linear in Y and drawn it above the

   log scale and plot your histo in that pad. 2) create a temporary copy of your histogram containing 10^<my-2d-histo>

   and plot it with LogY

Cheers, Olivier

On Wed, 11 May 2005, Jean-Eric Campagne wrote:

> Hello,
>
> I have a T2D plot (x, logy) with Linear X between (-180, 180) and Linear LogY
> between (-4,-1). I would like that the plot looks like a Linear X between
> (-180,180) and a Logarithmic Scale on Y between (10^-4, 10^-1).
> How I should proceed. In Paw I would have done
> opt linx
> opt logy
> Null -180 180 1e-4 1e-1
> h/pl <my-2d-plot> s
>
> Cheers
> Jean-Eric
>
> ...........................................................................
> .LAL - IN2P3 - CNRS
> .LAL - B.P 34 - 91898 Orsay Cedex - France
> .Piece 108
> .Tel +33 (0)1 64 46 84 29
> .Fax +33 (0)1 64 46 83 97
> ...........................................................................
>
>
>

-- 
Org:    CERN - European Laboratory for Particle Physics.
Mail:   1211 Geneve 23 - Switzerland                     Mailbox: J25910      
E-Mail: Olivier.Couet_at_cern.ch                            Phone:   +41 22 7676522
WWW:    http://cern.ch/Olivier.Couet/                    Fax:     +41 22 7670300
Received on Wed May 11 2005 - 15:10:42 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:07 MET