Great function. Having trouble with the legend display for a corner case. Does anyone have a solution to the following problem? http://www.mathworks.com/matlabcentral/answers/158068-hide-legend-entries-with-addaxis-function
09 Oct 2014
Add multiple y-axes to plots. zoomable with zoom modification.
answered my own question. use the function below to get a handle for the new axis, then adjust like so:
set(haxis2,'Position',[ 0.90 0.1100 0.001 0.8150]), modifiying the X location (.90) and the width .001).