I have two data sets data1
and data2
:
SeedRandom[1];
data1 = Sort[RandomReal[1, {10, 2}]];
data2 = Sort[RandomReal[2, {10, 2}]];
I would like to plot both data sets in one common plot with two different colors.
- the left vertical scale should extend from 0 to 1 for
plot1
- the right vertical scale should extend from 0 to 2 for
plot2
How can I do that?