|
HI, everybody,
i have the following data
f=[ 2 4 6 8 10 12 14 16 ]
a=[60 65 70 70 75 80 90 95 ]
b=[2.5 3.0 3.5 4.0 4.5 5.0 5.5 5.0]
(these are just for simplity original values may be
different)
i want to plot(f,a)
and plot(f,b) on the same graph but
the problem is the following:
f is same or x axis should be from 2 to 16 in both cases
but
y axis on left should be from 60 to 95 range
y axis on right side should be 2.5 to 5.5 range
so in the end i want see one graph with x and y axis left
side and curve to see plot(f,a) and x and y axis right
side label values to see plot(f,b) but on the same graph.
is it possible in matlab?
kind regards
|