Jeffrey:
Yes, draw your TPaveLabel, make a pad out of the rest of the
canvas, and
subdivide that pad.
Art
TCanvas* c = new TCanvas(name, name, canvasWidth, canvasHeight);
TPaveLabel* title = new TPaveLabel(0.1,0.96,0.9,0.99,name);
title->Draw();
TDatime now;
TPaveLabel* date = new TPaveLabel(0.7,0.01,0.9,0.03,now->AsString());
date->Draw();
TPad* graphPad = new TPad("Graphs","Graphs",0.01,0.05,0.95,0.95);
graphPad->Draw();
graphPad->cd();
graphPad->Divide(columns,rows);
McDonald wrote:
>
> Hi,
>
> I apologize if this has been discussed here before, but I have
> been unable to find the answer to this question.....
>
> I am making a canvas which is divided into 14 pads and then
> plotting data and a theoretical curve in each of the pads using
> histograms. I would like a single "global" title for the entire
> page. I know how to make titles for the histograms, but I've not found
> a method of generating a global title on the page of plots.
>
> Must I make the canvas larger, make a pad for a label and then use
> TPaveLabel?
>
> (If it matters, I'm using Root v2.25.00 on a Intel RH linux 6.2 system.)
>
> Thanks in advance,
>
> Jeff
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:30 MET