Editing Uicontrols
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 9: | Line 9: | ||
[[File:imageViewer1.png]] [[File:imageViewer2.png]] | [[File:imageViewer1.png]] [[File:imageViewer2.png]] | ||
{{Code|imageViewer example|< | {{Code|imageViewer example|<pre> | ||
%% In file 'imageViewer.m' | %% In file 'imageViewer.m' | ||
function imageViewer () | function imageViewer () | ||
Line 48: | Line 48: | ||
axis image off | axis image off | ||
end | end | ||
</ | </pre>}} | ||
Then run <code>imageViewer()</code> from your terminal: | Then run <code>imageViewer()</code> from your terminal: | ||
Line 58: | Line 58: | ||
[[File:demo_uicontrol1.png]] | [[File:demo_uicontrol1.png]] | ||
{{Code|demo_uicontrol.m|< | {{Code|demo_uicontrol.m|<pre> | ||
## 20.03.2017 Andreas Weber <andy@josoansi.de> | ## 20.03.2017 Andreas Weber <andy@josoansi.de> | ||
## Demo which has the aim to show all available GUI elements. | ## Demo which has the aim to show all available GUI elements. | ||
Line 248: | Line 248: | ||
guidata (gcf, h) | guidata (gcf, h) | ||
update_plot (gcf, true); | update_plot (gcf, true); | ||
</ | </pre>}} | ||
== See also == | == See also == |