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 
This is a draft message, edit and submit it to make it permanent  
Message ID: 145     Entry time: 13 Jun 2015     In reply to: 141     Reply to this: 147
Author: Farrukh Azfar 
Topic: Bug Report 
Subject: Problems with programming tabs when using TGraph 
Hi Ryu,

thanks for your reply. yes I am(was) using it.


Ryu Sawada wrote:
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