12.07.2015 Views

MATLAB Function Reference (Volume 2: Graphics)

MATLAB Function Reference (Volume 2: Graphics)

MATLAB Function Reference (Volume 2: Graphics)

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

figureExampleTo create a figure window that is one quarter the size of your screen and ispositioned in the upper-left corner, use the root object’s ScreenSize property todetermine the size. ScreenSize is a four-element vector: [left, bottom, width,height]:scrsz = get(0,'ScreenSize');figure('Position',[1 scrsz(4)/2 scrsz(3)/2 scrsz(4)/2])See Alsoaxes, uicontrol, uimenu, close, clf, gcf, rootobjectObjectHierarchyRootFigureAxesUicontrolUimenuUicontextmenuImageLightLinePatchRectangleSurfaceTextSetting Default PropertiesYou can set default figure properties only on the root level.set(0,'DefaultFigureProperty',PropertyValue...)Where Property is the name of the figure property and PropertyValue is thevalue you are specifying. Use set and get to access figure properties.Property ListThe following table lists all figure properties and provides a brief description ofeach. The property name links bring you an expanded description of theproperties.2-160

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!