Ratio plot with top in log scale fails

Hello

I am trying to do a ratio plot, while the top should be in log scale, but is always linear… Can you please advice ? Thanks

[code]
c1.Divide(1,2);
c1.cd(1);
c1.SetLogy();
hs->Draw();
Signal->Draw(“same”);

c1.cd(2);
Data.Sumw2();
Data.SetStats(0);
TH1 *all;
    all = (TH1) Signal;
    all->Add(TT);
    Data.Divide(all);
Data.SetMarkerStyle(21);
Data.SetTitle("Bin by Bin Ratio of G1 and G2");
Data.Draw("ep");

    c1.Update();[/code]

Instead of “c1.SetLogy();” try “gPad->SetLogy();” (and “.” instead of “->”, if you get problems here).

we can help you more efficiently if you post code we can run… what you sent cannot be run :frowning: