Re: the colour of the 2D histograms

From: Rene Brun <Rene.Brun_at_cern.ch>
Date: Mon, 07 Aug 2006 08:29:55 +0200


If you draw your TH2 with the default scatter-plot mode, you should set the marker color
  h2->SetMarkerColor(2);

Rene Brun

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
>
>
Received on Mon Aug 07 2006 - 08:30:02 MEST

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