[求助]请问 要在按下一个pushbotton后 在axes中显示图像 应该怎么写axes的函数
<P>rt<br>另外就是 在popupmenu中选择参数值 要怎么写它的 callback<br><br>毕设要求做界面 刚刚开始学GUI 不知道从哪里下手<br>请前辈们帮帮忙~~</P>[此贴子已经被作者于2006-4-18 19:57:13编辑过]
<P>function colormode_popuplist_Callback(hObject, eventdata, handles)<BR>% hObject handle to colormode_popuplist (see GCBO)<BR>% eventdatareserved - to be defined in a future version of MATLAB<BR>% handles structure with handles and user data (see GUIDATA)</P>
<P>% Hints: contents = get(hObject,'String') returns colormode_popuplist contents as cell array<BR>% contents{get(hObject,'Value')} returns selected item from colormode_popuplist<BR><BR>val = get(hObject,'Value');<BR>string_list = get(hObject,'String');<BR>selected_string = string_list{val};<BR>switch (selected_string)<BR> case<BR>case<BR> end<BR></P> 谢谢谢谢! 还有一个问题 axes的哪个属性可以关掉它的坐标刻度呢 显示图像的话 不需要刻度
回复:(mentos)[求助]请问 要在按下一个pushbotton后...
set(gca,'xtick',[]);
页:
[1]