i am trying to plot only a single curve, and that every points of the curve is align to the data from Y1 and Y2, for example: (0.015, 0.05, -130) is not correctly plotted as shown in the image below (the phase difference is wrong.
i'm not sure if i am using the correct commands, appreaciate any help
X = [0.015 0.060 0.100 0.140];
Y1 = [0.05 0.128 0.215 0.313]
Y2 = [-130 -118 -111 -105];
[ax,h1,h2] = plotyy(X,Y1,X,Y2,'plot');