From: Kyle on 22 Jul 2010 15:52 I've built a GUI, with two surf plots, one showing the data, and another for physical reference. I'm trying to find a way to get the 2nd axes' "View" property to always change to the "View" property of the first. (preferably while the user is changing the first, not after.) %I tried using the "WindowButtonUpFcn" and "WindowButtonMoveFcn", %calling a gui subfunction with the statement set(handles.axes2,'View',get(handles.axes1,'View')); %this approach works, but not when rotate3D or any other Figure toolbar tools are in %use or selected. Upon deselecting said tools, the second axes changes its view to %that of the first.
From: Walter Roberson on 22 Jul 2010 16:04 Kyle wrote: > I've built a GUI, with two surf plots, one showing the data, and another > for physical reference. > I'm trying to find a way to get the 2nd axes' "View" property to always > change to the "View" property of the first. (preferably while the user > is changing the first, not after.) Sounds like a job for linkprop()
|
Pages: 1 Prev: Matching elements in two different sized matrices? Next: movie2avi question |