From: <HIDDEN>
Path: news.mathworks.com!newsfeed-00.mathworks.com!webcrossing
Newsgroups: comp.soft-sys.matlab
Subject: specify parent map axes?
Message-ID: <ef5bc6a.-1@webcrossing.raydaftYaTP>
Date: Tue, 26 Jun 2007 12:53:19 -0400
Lines: 24
NNTP-Posting-Host: 128.61.191.50
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Xref: news.mathworks.com comp.soft-sys.matlab:415847



Hi all,
I'm plotting lines on a map using linem and I would like to specify a
particular map axes as the parent. I can accomplish this by preceding
linem with something like:

axes(maphandle)

but if I instead try to specify the target map as a property pair
within linem (by using ...'parent',maphandle...) i get the error:
??? Error using ==> linem
Not a map axes. Select a map axes or use AXESM to define one.

I'd much rather use the second syntax since it's a lot faster...does
anyone know why this doesnt work?

ps,
maphandle is the handle to an axes that I have turned into a map
using the commands:

axes(maphandle)
handles.maxes=axesm(.......)

(as far as I know it is also not possible to use property/value pairs
to specify a target axes to the axesm command)