Sorry,
I left out the “A” option while drawing. But now I have another problem that as I add a new TGraph, the new axis is overlapping over the old axis markings. Can I have it so that the axis is rescaled to have a single axis marking.
thanks,
dsmcc
Hi,
Sorry once again, Im back to square one, the rescaling does not work. here is the latest piece of code. Here is what I do:
a) I check if the pointer to TMultigraph is NULL (to see if its already exisiting)
b) if NULL then I create one (else use the existing one)
c) Set Options for the graph
d) Add the Graph to the Multigraph
e) draw
At this point, If the latest added graph is outside the current MultiGraph limits, the axis is not rescaled. Should I do it manually by getting the limits and setting them?