createWindow
create a window
Syntax
f = createWindow();
Description
This routine creates a graphic window with default properties :
dockable = "off"
default_axes = "off"
infobar_visible = "off"
toolbar_visible = "off"
menubar_visible = "off"
Examples
// Create a window f = createWindow() f.axes_size = [400 400]; uicontrol(f, "style", "pushbutton", "units", "normalized", "position", [0 0 0.5 0.5], "string", "Button", "horizontalalignment", "center"); uicontrol(f, "style", "text", "units", "normalized", "position", [0 0.5 0.5 0.5], "string", "Label", "horizontalalignment", "center"); uicontrol(f, "style", "radiobutton", "units", "normalized", "position", [0.5 0 0.5 0.5], "string", "Radiobutton", "horizontalalignment", "center", "groupname", "grouptest"); uicontrol(f, "style", "checkbox", "units", "normalized", "position", [0.5 0.5 0.5 0.5], "string", "Checkbox", "horizontalalignment", "center", "groupname", "grouptest");
See also
- figure — create a figure
History
Version | Description |
5.5.0 | Function createWindow introduced. |
Report an issue | ||
<< Console properties | IGU | exportUI >> |