フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

How to Plot a Figure in a axis GUI?

1 回表示 (過去 30 日間)
Mohammed Hamed
Mohammed Hamed 2019 年 10 月 21 日
閉鎖済み: Mohammed Hamed 2019 年 10 月 24 日
i would like to plot d function in a GUI axis
function pushbutton1_Callback(hObject, eventdata, handles)
tic
[filename,filepath] = uigetfile({'*.inp*';'*.net*';'*.txt*'}, 'Search Input Network File');
fullname = [filepath filename];
start_toolkit;
d = epanet(fullname);
%d.plot(axes1);
%axes(handles.axes1)
%plot(d)
%h = axes1;
%d.plot;
%axesHe = findobj('Tag', 'axes1');
%plot(axesHe,[1 2 3],[1 2 3])
%plot(d, axesHe);
%plot(axesHe);
%axes(findobj('Tag', 'axes1')); %At the 2nd place in your code where you use 'handles.axes1'
%axes(handles.axes1);
%guidata(hObject,d)
%h = axes1; d.plot('axes', h, axes1)
%d.unload
%clear; close('all'); clc;
toc
  1 件のコメント
Rik
Rik 2019 年 10 月 21 日
Have a read here and here. It will greatly improve your chances of getting an answer.
Look here for more information about GUIs.

回答 (0 件)

この質問は閉じられています。

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by