title: How to use "ButtonDownFcn" in a populated GUI axes?
body: <p>I have a very simple GUI made in guide where i have a plot function initiated by a pushbutton which plots a scatter plot in axes (called Method1axes1):</p>
  
  <pre><code>handles.plot = scatter(X,Y, 'parent', handles.Method1axes1);
  </code></pre>
  
  <p>Now I want the user to be able to click the axes (plot) to get en new larger figure. I tried the below code which is working if i DON'T plot in the axes first. As soon as I run the plot function the scatterplot appears in Method1axes1 but I can no longer click the figure.</p>
  
  <pre><code>% --- Executes on mouse press over axes background.
  function Method1axes1_ButtonDownFcn(hObject, eventdata, handles)
  figure
  scatter(X,Y);
  </code></pre>
  
  <p>What am I doing wrong?</p>