From: Kyle on
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
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()