axes(handles.Axs_x1_data);
axis([handles.user_min_x handles.user_max_x ...
handles.user_min_y handles.user_max_y])
set(handles.Axs_x1_data,'XLim',[handles.user_min_x...
handles.user_max_x]);
set(handles.Axs_x1_data,'YLim',[handles.user_min_y...
handles.user_max_y]);
xlabel('x dimension');
ylabel('y dimension');
zlabel('disp of input port');
if handles.x1_show == 1
surf(x_final, y_final, x1_final);
else
plot3(0,0,0);
end
this is the part of the code. i have used both axis and
'XLim' and 'YLim'. But the axis doesn't come as expected. it
rather changes its size according to figure.