Path: news.mathworks.com!newsfeed-00.mathworks.com!newscon02.news.prodigy.net!prodigy.net!news.glorb.com!postnews.google.com!y42g2000hsy.googlegroups.com!not-for-mail
From:  ImageAnalyst <imageanalyst@mailinator.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: How to draw a line on a figure in GUI?
Date: Thu, 01 Nov 2007 12:10:54 -0700
Organization: http://groups.google.com
Lines: 18
Message-ID: <1193944254.402358.154890@y42g2000hsy.googlegroups.com>
References: <1193943222.776369.320390@19g2000hsx.googlegroups.com>
NNTP-Posting-Host: 192.44.136.113
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Trace: posting.google.com 1193944254 13011 127.0.0.1 (1 Nov 2007 19:10:54 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Thu, 1 Nov 2007 19:10:54 +0000 (UTC)
In-Reply-To: <1193943222.776369.320390@19g2000hsx.googlegroups.com>
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),gzip(gfe),gzip(gfe)
X-HTTP-Via: 1.1 bdci2px (NetCache NetApp/6.0.5P2)
Complaints-To: groups-abuse@google.com
Injection-Info: y42g2000hsy.googlegroups.com; posting-host=192.44.136.113;
Xref: news.mathworks.com comp.soft-sys.matlab:435698



On Nov 1, 2:53 pm, "A.E lover" <aelove...@gmail.com> wrote:
> Hi all
>
> I need to draw on a figure some lines. Anybody knows how to do this
> task?
>
> This is very simple in some other languages such as Visual C ++ or
> Visual Basic. But it seems impossible in MATLAB's GUI.
>
> Thank you
=======================================================================
AELover:
Use the axes command to switch focus to the axes (picture) in the GUI
that you want to draw on.
Then use the plot() command to do the drawing.
Regards,
ImageAnalyst