From: Eyal Fleminger on
Hello

When I create a map axes with axesm, there is a context menu which pops up if I right-click on it or on an item appearing in it. I created a point with plotm and defined a contextmenu for it using the uicontextmenu function. However, when I right-click on the point, I get both my context menu and the axesm context menu, which creates a number of problems. Is there a way to shut off the axesm menu? (I checked the axes' uicontextmenu property, but it appears to be empty).
From: Eyal Fleminger on
"Eyal Fleminger" <efleminge(a)gmail.com> wrote in message <hod3v6$7s2$1(a)fred.mathworks.com>...
> Hello
>
> When I create a map axes with axesm, there is a context menu which pops up if I right-click on it or on an item appearing in it. I created a point with plotm and defined a contextmenu for it using the uicontextmenu function. However, when I right-click on the point, I get both my context menu and the axesm context menu, which creates a number of problems. Is there a way to shut off the axesm menu? (I checked the axes' uicontextmenu property, but it appears to be empty).

Found the solution - map objects (axesm and linem) are created with a function in the ButtonDownFCN property. Clearing it solves the problem.
 | 
Pages: 1
Prev: VRML
Next: change properties of "Plotyy" figure