Path: news.mathworks.com!newsfeed-00.mathworks.com!nlpi057.nbdc.sbc.com!prodigy.net!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!a29g2000pra.googlegroups.com!not-for-mail
From: vedenev <vedenev.maxim@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Pausing
Date: Sun, 2 Nov 2008 22:10:08 -0800 (PST)
Organization: http://groups.google.com
Lines: 11
Message-ID: <090e2245-6814-419f-b59c-31d532813ec7@a29g2000pra.googlegroups.com>
References: <fc6b4dd9-4c14-4fd6-85f8-ee6f52048db1@w39g2000prb.googlegroups.com>
NNTP-Posting-Host: 89.251.107.21
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Trace: posting.google.com 1225692608 28834 127.0.0.1 (3 Nov 2008 06:10:08 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 3 Nov 2008 06:10:08 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: a29g2000pra.googlegroups.com; posting-host=89.251.107.21; 
	posting-account=4kIhLQoAAAA5O3xkqw3S1hEVU2lwNKQO
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.9.0.3) 
	Gecko/2008092417 Firefox/3.0.3,gzip(gfe),gzip(gfe)
Bytes: 1668
Xref: news.mathworks.com comp.soft-sys.matlab:498582


I have following idea:
It is need to make pause buton in your gui. In callback of this button
you make script where it set 1 to user data if click then 0 if click
again then 1 if click again ect. Then in palce where line plot you
need to check efter draw each line if userdata 1, if it 1 than whait
until it become 0. UserData is property in each control you can use
for example UserData of the figure.

------------------------------------
Maxim Vedenev, Matlab freelancer
http://simulations.narod.ru/