Re: the colour of the 2D histograms

From: Otto Schaile <Otto.Schaile_at_Physik.uni-muenchen.de>
Date: Mon, 07 Aug 2006 09:52:42 +0200


Hi Nasim,
try the att macro.
Note: default 2dim mode is scatter plot (swarm of markers). With this MarkerColor is relevant, if you use "Box" LineColor determines the color.
Cheers
Otto

nasim wrote:

>Hi,
>
>Do we have sth like SetLineColor(Int_t) for the TH2 histograms.
>
>I would like to plot two 2-dimensional plots in one histogram with
>
>h1->Draw()
>//h2->SetFillColor(2);
>h2->SetLineColor(2);
>h2->Draw("same")
>
>to see where they overlap, but not successful.
>Thanks for any help,
>
>Nasim
>
>
>

-- 
Dr. Otto Schaile            Department f"ur Physik, LMU M"unchen
Phone: +49 89 289 14070     Am Coulombwall 1, D-85748 Garching, Germany
Mobil: +49 160 1553598
FAX:   +49 89 289 14072     EMail: Otto.Schaile_at_Physik.Uni-Muenchen.DE


  • text/x-c++src attachment: hs2.C
Received on Mon Aug 07 2006 - 09:52:59 MEST

This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:32:00 MET