h_axis = axes('position', [.3 .1 .65 .8]);
surf(peaks(35));

h_rotate = uicontrol('style','toggle', ...
    'string', 'Rotate3D', ...
    'callback', ...
    'if get(h_rotate, ''value''), rotate3d on, else, rotate3d off, end', ...
    'fontsize', 12, 'units', 'normalized', 'position', [.05 .2 .2 .07]);
h_view = uicontrol('style','push', ...
    'string', 'Default View', ...
    'callback', 'view(3)', ...
    'fontsize', 12, 'units', 'normalized', 'position', [.05 .3 .2 .07]);