Path: news.mathworks.com!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!v15g2000yqn.googlegroups.com!not-for-mail
From: ImageAnalyst <imageanalyst@mailinator.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: changing position of a image
Date: Sat, 29 Nov 2008 19:15:10 -0800 (PST)
Organization: http://groups.google.com
Lines: 36
Message-ID: <df14f7b8-72e1-4d20-8601-ff56b279c026@v15g2000yqn.googlegroups.com>
References: <ggsqge$hrt$1@fred.mathworks.com> <ggssrd$h2g$1@fred.mathworks.com> 
	<ggsuei$2u8$1@fred.mathworks.com>
NNTP-Posting-Host: 75.186.70.56
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1228014911 781 127.0.0.1 (30 Nov 2008 03:15:11 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Sun, 30 Nov 2008 03:15:11 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: v15g2000yqn.googlegroups.com; posting-host=75.186.70.56; 
	posting-account=0rLUzAkAAABojYSRC64DkTbtiSCX77HH
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET 
	CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 
	3.5.21022),gzip(gfe),gzip(gfe)
Xref: news.mathworks.com comp.soft-sys.matlab:503868


On Nov 29, 9:40=A0pm, "Rui Gomes" <rpgome...@gmail.com> wrote:
> > I would suggest first checking the units property of your axes and figu=
re. =A0Assuming that isn't the problem, you might take a look at the soluti=
on someone provided me in this thread. =A0I was trying to "stack" images:
>
> >http://www.mathworks.com/matlabcentral/newsreader/view_thread/237542
>
> > Also, could you make image3 and image1 share the same axes? =A0I think =
that would make the problem easier to manage.
>
> im making some experiences
> and when i put im guide .m file:
>
> handles.redI =3D imread('red_spot.jpg');
> pos_act =3Dget(handles.axes3,'Position')
> set(handles.axes3,'Position',[111 111 pos_act(3) pos_act(4)]);
> image(handles.redI);
> axis off;
>
> my image dissipates, and the image that i had associate in handles.axes3 =
and to change position several times.
>
> i don't know what to do, im to novice in matlab guide.
> the image is only a red point that i want to put in front of the image th=
at is in handles.axes2
>
> thanks for the help.

Rui:
Use the "hold on" command.  What happens is that when you display the
red dot, it replaces the image that was previously in the axes.  If
you set hold on then I think it will retain the image and just place
the red dot on top of the existing image.
Regards,
ImageAnalyst
P.S. I think you mean "disappear" rather than dissipate.