Hi guys,
Here is my problem: I plotted a figure and wanted to zoom in to see some details. However, the error showed up:
Error using error (line 4)Not enough input arguments.Error in view (line 29)error(nargoutchk(0, 2, nargout,'struct'));Error in resetplotview>localCreateViewInfo (line 181)[az, el] = view(hAxes);Error in resetplotview>localResetPlotView (line 70) viewinfo = localCreateViewInfo(hAxes);Error in resetplotview (line 48) retval = localResetPlotView(hAxes(n),varargin{:});Error in matlab.graphics.interaction.saveView (line 8)Error in matlab.graphics.interaction.initializeView (line 5)Error in zoom>localStoreLimits (line 678)Error in zoom>localZoom (line 765)Error in zoom>localStartDrag (line 739)Error in zoom>localWindowButtonDownFcn (line 654)Error in hgfeval (line 62) feval(fcn{1},varargin{:},fcn{2:end});Error in matlab.uitools.internal.uimode/modeWindowButtonDownFcn (line 115)hgfeval(newButtonDownFcn,hFig,evd);Error in matlab.uitools.internal.uimode/modeControl>localModeWindowButtonDownFcn (line157)hThis.modeWindowButtonDownFcn(hFig,evd,hThis,newValue);Error while evaluating Figure WindowButtonDownFcn
Then I tried to plot some very simple function, the same error still exists. My MATLAB version is: R2015a, 64 bits.
I never had such problem before. Does anybody know what happened? Thanks ahead!
Best Answer