Yes, I agree .. color palette for TRI1 should behave like for SURF1
(note that TRI1 was not used a lot up to now)
From: claudio [mailto:claudio.manzato_at_gmail.com]
Sent: Thursday, August 31, 2006 1:12 PM
To: Olivier Couet
Cc: roottalk_at_pcroot.cern.ch
Subject: Re: [ROOT] a short question
mmmmh, you're right! I've read the manual and I should have notice it... sorry and very thanks
Just a fashion note:
with the SURF1 option, the colours are bounded with the scale in a way
that e.g. the red occupy always the same fraction of the axis even a use
a logarithmic scale. With the TRI1 option, the colour scale is bounded
with the values, so the red is associated always with the same
value-range. If I change scale, the coulor associated with the lower
range occupy the most of the space.
These are surely two different philosophy, of which I prefer the first
because the plot is more "readable". There's a way to switch from one to
the other?
Cheers, Claudio
PS: ROOT version 5.11/02
On 8/31/06, Olivier Couet <couet_at_mail.cern.ch > wrote:
Hi,
With the option SURF1 it is difficult to define the concept of "wall" as
you mean here. With SURF1 an histogram is drawn and the empty bins are
normal bins and therefore are part of the surface. But TGraph2D provides
specific options to draw what you what. Try TRI1 instead of SURF1. Cheers, Olivier Couet
On Wed, 30 Aug 2006, claudio wrote:
> Hi roottalk;
>
> I've a 3Dplot:
>
> TGraph2D* foo = new TGraph2D("foo.dat");
> foo->Draw("surf1");
> gPad->SetLogz(1);
>
> I'm interested only at the "floating valley"; I don't want the
two wall at
> the sides.
> I understand why they appear, but I don't know how make a plot
without
> them...
>
> Thanks to anyone can help me
> Claudio
>
-- 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/ <http://cern.ch/Olivier.Couet/> Fax: +41 227670300 Received on Thu Aug 31 2006 - 13:16:14 MEST
This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:32:00 MET