Main Content

Interactive Control and Callbacks

Write programs that respond to user actions, such as mouse clicks

Write callback functions, and add context menus and other interactive elements to your charts.

Functions

uicontextmenuCreate context menu component
uimenuCreate menu or menu items
dragrectDrag rectangles with mouse
rbboxCreate rubberband box for area selection
refreshRedraw current figure
shgShow current figure

Topics