It is an improvement on features provided by the plotyy function.
It can be used in cases where plotyy can't.
Like if the target axes is a child of a uipanel.
layerplot enables to plot two y-axis in the same figure and easily setup the corresponding axis properties.
Here are some key features of "layerplot":
· When we use matlab function plotyy, it's inconvenient to setup the labels and ranges of the three axes and the legend of the two lines. What's more, plotyy can not be used in some cases, for example,
Requirements:
· MATLAB 6.5 or higher