im having two push buttons and two axes. when i press 1st button the selected image will be displayed on axes1 its fine.now how can i do on 2nd button press to show image on 2nd axes.
% code
endfunction pushbutton1_Callback(hObject, eventdata, handles)% hObject handle to pushbutton1 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
global filename[filename, pathname] = uigetfile('','Select Image');axes(handles.axes1);input=imread(fullfile(pathname, filename));imshow(input);
function pushbutton2_Callback(hObject, eventdata, handles)
% code
Best Answer