Prev: putting box or chaging pixel value
Next: What is the difference for different versions of Matlab
From: Doug Schwarz on 27 Mar 2010 21:49 In article <holk8a$le1$1(a)fred.mathworks.com>, "Richard " <richard.katz(a)earth.ox.ac.uk> wrote: > OK, Doug, > > you are correct that the renderer can change unexpectedly. > > using the code: > > set(gcf,'Renderer','painters'); drawnow; > mov = addframe(mov,getframe(fig)); > > to make a movie actually seems to fix the problem. That's great. > > However, > > set(gcf,'Renderer','painters'); drawnow; > mov = addframe(mov,fig); > > still has the same problem. > > I can work with the first formulation, but the second is more convenient. Do > you have any further suggestions? > > Many thanks. Richard, Great, I'm glad that helped. I see why the second technique would be a bit more convenient since it doesn't require that the figure be completely visible, but I don't see any way to control the rendering method in that case. Perhaps an enhancement request to The MathWorks will bring satisfaction eventually. I wonder if this is platform dependent. I'll try it at work on Monday on Windows. -- Doug Schwarz dmschwarz&ieee,org Make obvious changes to get real email address.
First
|
Prev
|
Pages: 1 2 Prev: putting box or chaging pixel value Next: What is the difference for different versions of Matlab |