GIBBON
GIBBON copied to clipboard
Make VCW compatible with axis windows in uitab environments
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;