Plotting two functions with different range axes

Suppose I have two functions:

TF1 MyF1(“MyF1”, “sin(x)”, -5., 5.);
TF1 MyF2(“MyF2”, “100+cos(x)”, -5.,5.);

Is it possible to plot the two functions in a canvas with two y-axes, one for each functions, so that they are plotted in the same viewing area?


see an example with two TGraphs in the attachement

transpg.C (1.62 KB)