how to plot in axes in a figure?
how to plot in axes in a figure?
(OP)
I have 2 axes in a figure (designed in the gui) and want to plot in these axes. How can I select, in which of the 2 axes I want to plot? Or, how can I get the handle of an axes which is not the current axes at the moment?
Thanks for your help!
Thanks for your help!





RE: how to plot in axes in a figure?
M
--
Dr Michael F Platten
RE: how to plot in axes in a figure?
% --- Executes during object creation, after setting all properties.
function axes5_CreateFcn(hObject, eventdata, axes5)
% hObject handle to axes5 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called
axes5=get(gcf,'CurrentAxes')
... but out of the funcion, I can't use the variable axes5. What am I doing wrong? Thanks!
RE: how to plot in axes in a figure?
M
--
Dr Michael F Platten