Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
troubles with panning and zooming when moving between two versions

Subject: troubles with panning and zooming when moving between two versions

From: Yoav Rubin

Date: 20 Nov, 2008 10:48:01

Message: 1 of 1

Hi All,

I recently updated my Matlab version to be r2007b instead of r2006b. When I started to use the program on the new version (it was written on the old version) I saw that several things behave differently.
In my program I created two plots on the same axis (using plotyy) and allowed one of the axis to be panned. In the new version when I try to do the same thing both plots are moving together.
Also, in the old version when I was able to do a zoom operation on a plot, and in the new version when I try to zoom I get the following error message:

??? Error using ==> horzcat
CAT arguments dimensions are not consistent.

Error in ==> uitools.uimode.modeControl>localModeWindowButtonDownFcn at 127
hThis.modeWindowButtonDownFcn(hFig,evd,hThis,newValue);

??? Error while evaluating figure WindowButtonDownFcn

??? Error using ==> horzcat
CAT arguments dimensions are not consistent.

What should I do? I prefer not to downgrade to the old version.

thanks

Yoav

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us