I have a curve as a function of x. The value at different x can be expressed in y1 units and well as y2 units.
I intend to plot the curve such that the left y-axis shows the value in y1 units while right y-axis of the panel shows it in the y2 units.
PS: I am trying to implement this in MATLAB.