Back Midas Rome Roody Rootana
  Rome Analyzer Framework  Not logged in ELOG logo
Entry  09 Jun 2015, Farrukh Azfar, Bug Report, Problems with programming tabs when using TGraph 
    Reply  11 Jun 2015, Ryu Sawada, Bug Report, Problems with programming tabs when using TGraph 
Message ID: 141     Entry time: 11 Jun 2015     In reply to: 139     Reply to this: 145
Author: Ryu Sawada 
Topic: Bug Report 
Subject: Problems with programming tabs when using TGraph 
Dear Farrukh

I presume you implemented your tab which draws the graph.
Which option do you use for Draw function of the graph ?
I am afraid you might forget to add 'A' in the option.
For example, you need to use 'A' like,
  graph->Draw("APL");

Best regards,

Ryu

> Dear Colleagues,
>
> I have been using the ROME framework and have succesfully implemented a program
> to run on MIDAS input and plot histograms.
>
> Not satisfied with the default settings of the Canvas, pads and text sizes etc I
> consulted Ryu who kindly showed me how to implement the event and init and update
> methods in the Tabs to bring the display closer to what I needed.
>
> This has worked fine with histograms. However not with TGraphs:
>
> I noticed that if I implemented the plotting of the TGraphs in the tab class then
> after setting points in the TGraph in the Fill tasks the Tab classes plot was
> empty -> is there something peculiar about TGraph ? Any tips would be great !
>
> many thanks
> Farrukh Azfar
ELOG V3.1.4-2e1708b5