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.

uicontextmenuPurpose2uicontextmenuCreate a context menuSyntaxDescriptionPropertieshandle = uicontextmenu('PropertyName',PropertyValue,...);uicontextmenu creates a context menu, which is a menu that appears when theuser right-clicks on a graphics object.You create context menu items using the uimenu function. Menu items appearin the order the uimenu statements appear. You associate a context menu withan object using the UIContextMenu property for the object and specifying thecontext menu’s handle as the property value.More information about context menus.This table lists the properties that are useful to uicontextmenu objects,grouping them by function. Each property name acts as a link to a descriptionof the property.Property Name Property Description Property ValueControlling Style and AppearanceVisible Uicontextmenu visibility Value: on, offDefault: offPositionLocation of uicontextmenu whenVisible is set to onValue: two-element vectorDefault: [0 0]General Information About the ObjectChildrenThe uimenus defined for theuicontextmenuValue: matrixParent Uicontextmenu object’s parent Value: scalar figure handleTag User-specified object identifier Value: stringType Class of graphics object Value: string (read-only)Default: uicontrolUserData User-specified data Value: matrix2-527

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

Saved successfully!

Ooh no, something went wrong!