Hi, I have some problems getting this running. I have used the 2D example just as written in the description and then pressed the "+" key. What I get is following
??? Undefined function or method 'range' for input arguments of type 'double'.
Error in ==> dragzoom>GetCurrentZoomAxesPercent at 1196
curentZoomX = range(defaultXLim) * 100 / range(xLim);
Error in ==> dragzoom>UpdateCurrentZoomAxes at 1168
[curentZoomX, curentZoomY] = GetCurrentZoomAxesPercent(xLim, yLim);
Error in ==> dragzoom>ZoomKeys at 1048
UpdateCurrentZoomAxes();
Error in ==> dragzoom>WindowKeyPressCallback2D at 487
ZoomKeys('plus');
??? Error while evaluating figure WindowKeyPressFcn
I'm using Matlab 2010a. Must be a mistake by myside because all other have no such problems! Do you know whats wrong?