## PLOTYY : 2-D line plots with y-axes on both left and right side

This section explains how to plot more than two graphs on two y-axes using plotyy function in MATLAB. plotyy(X1,Y1,X2,Y2) plots X1 versus Y1 with y-axis labeling on the left(y1-axis) and plots X2 versus Y2 with y-axis labeling on the right. plotyy(X1,Y1,X2,Y2,’function’) uses the plotting function specified by the string ‘function’ […]