GIBBON icon indicating copy to clipboard operation
GIBBON copied to clipboard

Make VCW compatible with axis windows in uitab environments

Open Kevin-Mattheus-Moerman opened this issue 6 years ago • 0 comments

Currently VCW does not work for these types of axes:

[X,Y,Z]=peaks(25); %Create some patch data

hf = cFigure; %Open a figure with the VCW widget pre-loaded
%axis

tabgp = uitabgroup(hf); %Start a tab group

%Tab 1
tab1 = uitab(tabgp,'Title','A surface in tab 1'); %Add tab 1
axes(tab1);
surf(X,Y,Z);
axis tight; axis equal; 

%Tab 2
tab2 = uitab(tabgp,'Title','A surface in tab 2'); %Add tab 1
axes(tab2);
surf(X,Y,Z);
axis tight; axis equal; 

Kevin-Mattheus-Moerman avatar Jan 16 '18 20:01 Kevin-Mattheus-Moerman