Article View: comp.soft-sys.matlab
Article #98Re: Figure/image update question.
From: John Little
Date: Wed, 27 Jan 1993 00:15
Date: Wed, 27 Jan 1993 00:15
26 lines
1551 bytes
1551 bytes
In article <BGEORGE.93Jan25120412@grumpy.sanders.lockheed.com> E. Bryan George, bgeorge@grumpy.sanders.lockheed.com writes: >In article <1993Jan21.230058.5077@julian.uwo.ca> craigj@irus.rri.uwo.ca ( Craig >Jones) writes: > > What I am doing is reading in an 8-bit image and would like to > pick some points on it. I can plot the points on the image > but every point that is plotted Matlab clears the figure and > redraws the whole thing. This is WAY too slow. > > What I am hoping is that there is some way in Matlab to turn > off the redraw/refresh?? > >In Matlab 4, you can do this by specifiying a plot as a graphics >object then using the 'set' command to change the data in the plot >without redrawing the axis. Look at ODE23P for further clues. Another thing you can do is use the "EraseMode" property of line objects. This allows you to control the technique MATLAB uses to draw and erase line objects. Possibilities are "normal", "none", "xor", and "background". Look at a guide or grep in the demo M-files for examples... John Little
Technical Details
Message-ID:
<C1HKpB.9Hx@MathWorks.COM>Path:
arc1-ca.pugleaf.net!sparky!uunet!ulowell!m2c!bu.edu!inmet!noc.near.net!MathWorks.Com!nuntiusReferences:
<BGEORGE.93Jan25120412@grumpy.sanders.lockheed.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!ulowell!m2c!bu.edu!inmet!noc.near.net!MathWorks.Com!nuntius From: little@mathworks.com (John Little) Newsgroups: comp.soft-sys.matlab Subject: Re: Figure/image update question. Message-ID: <C1HKpB.9Hx@MathWorks.COM> Date: 27 Jan 93 00:15:11 GMT References: <BGEORGE.93Jan25120412@grumpy.sanders.lockheed.com> Sender: news@MathWorks.COM (Usenet News Account) Organization: The MathWorks, Inc. Lines: 26 X-Useragent: Nuntius v1.1