home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / softsys / matlab / 198 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  1.5 KB

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