title: Set Parent of Map Axes in Matlab GUI
body: <p>I am programming a basic GUI in MATLAB that utilizes the mapping toolbox. The GUI will display a grayscale image and then plot discrete points over the data, all of this over the necessary map projection. It is important that I plot onto map axes (those created by the axesm command) rather than the vanilla cartesian space. I have no problem doing all this from the command line, but I cannot find a way to implement a GUI version and its driving me nuts.</p>
  
  <p>The problem is that I need to specify the map axes as being the child of the parent figure. The normal axes has a property that can be set, doing something like:</p>
  
  <pre><code>axesHandle = axes('Parent', parentHandle, ...);
  </code></pre>
  
  <p>or</p>
  
  <pre><code>set(axesHandle, 'Parent', parentHandle);
  </code></pre>
  
  <p>However, there is no equivalent parent property for the map axes created by the axesm function, so I have no way to manipulate the axes within the figure. How can I do this?</p>
  
  <hr>
  
  <p>Update: If I create a plot within the map axes in an empty figure, get(figureHandle, 'Children') returns the handle of the axesm object (thanks @slayton!), so the map axes object must be implicitly added to the children of the figure by MATLAB.</p>
  
  <p>Should I be concerned that the map axes do not refer back to the parent figure, or should I just let it be? I wonder if this is a classic case of MATLAB forcing me to not comply with the standards the manual tells me to implement.</p>