Location to open the context menu within the UI component, specified as the
coordinates of the point. The form of location
depends on the UI
component:
Axes and UI Axes — A 1-by-2 or 1-by-3 numeric array containing
x-, y-, and optionally
z-coordinates.
Polar Axes — A 1-by-2 numeric array containing θ- and
r-coordinates.
UI Figure — A 1-by-2 numeric array containing x- and
y-coordinates. Specify the coordinates of the point to
right-click measured in pixels from the lower-left corner of the UI figure.
Example: [32.5 13 0.25]
(UI axes)
Example: [pi/2 0.5]
(Polar axes)
Example: [100 200]
(UI figure)