Path: news.mathworks.com!newsfeed-00.mathworks.com!news.tele.dk!feed118.news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail
From: Ralph Schleicher <rs@ralph-schleicher.de>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Most efficient way to continously update axes data in GUI
Date: Fri, 18 Sep 2009 22:16:03 +0200
Organization: Ralph Schleicher
Lines: 19
Message-ID: <8763bg3t6k.fsf@echo.mueller-schleicher.i>
References: <h010cp$52a$1@fred.mathworks.com>
	<h3o5ct$5gc$1@fred.mathworks.com> <h8u477$sej$1@fred.mathworks.com>
	<h8v0ao$6o3$1@fred.mathworks.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.t-online.com 1253308143 03 n18534 fuqMQTcvrji-yva 090918 21:09:03
X-Complaints-To: usenet-abuse@t-online.de
X-ID: rZ34MQZ-weryv9yQ683MKLCAwc1Yb6ZB31cxuyP5k08lDsmcZ27Mr6
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)
Cancel-Lock: sha1:4OlZl/BPIp9I8VJqxscE45H4P6Q=
Xref: news.mathworks.com comp.soft-sys.matlab:571473


"Rodney Thomson" <readmore@iheartmatlab.blogspot.com> writes:

> Try playing around with the line's 'EraseMode' property.
>
> By default it redraws the entire frame. Setting it to perhaps 'xor'
> might speed it up significantly.

The correct combination is important.  If you set 'EraseMode' to
'normal' for the animated objects, set the figure's 'DoubleBuffer'
to 'on' and 'Renderer' to 'painters'.  If you set 'EraseMode' to
'xor' for the animated objects, the figure's 'DoubleBuffer' has
to be 'off'.

-- 
Ralph Schleicher  <http://ralph-schleicher.de>

Development * Consulting * Training
Mathematical Modeling and Simulation
Software Tools