Re: Stacking two graphs with different x and y scale on the same graph
Many thanks. It is indeed close to what I am looking for apart from
the issues on the axes.
I am attaching the result plot. The minimum and maximum values of y1
are respectively -5.470919 and 1.298329 while they are 0.0002937659
and 4.808186 for y2.
New problems are: (1) I can't labelled the axis as (x1,x2) persist
when I tried to label the axes. (2) The two plots are merging at some
points. I only want them close but not merging as that does not allow
for meaningful comparison.
It would be great if you could adjust the code further to minimize