Path: news.mathworks.com!not-for-mail
From: "Patrick " <praphael@bcm.tmc.edu>
Newsgroups: comp.soft-sys.matlab
Subject: Clearing drawn lines from a figure window
Date: Mon, 9 Mar 2009 19:20:17 +0000 (UTC)
Organization: Baylor College of Medicine
Lines: 1
Message-ID: <gp3q5h$8te$1@fred.mathworks.com>
Reply-To: "Patrick " <praphael@bcm.tmc.edu>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1236626417 9134 172.30.248.37 (9 Mar 2009 19:20:17 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 9 Mar 2009 19:20:17 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1747855
Xref: news.mathworks.com comp.soft-sys.matlab:523572


Is there any way to clear lines drawn with the line() command from a figure window?  clear() doesn't seem to work.  Clearing the entire figure resets the axes to defaults, and its an image window where you don't want axes.  I'm not sure how to redraw the image though if thats the only way to do it I will need a ay to redraw it quickly.