From: Marcin on 25 May 2010 11:20 Hi, I have a GUI application which creates some plots. The plots consist of many elements e.g. there is a surf plot, some lines superimposed on it using plot3 etc. After the plot has been created I also manipulate the axis (axis tight, axis equal). The problem is that it is all visible during drawing, you can see how the plot rescales and how all the elements appear in turn, which doesn't look too nice. Is it possible to do all the plotting in the background and then display it, when it's ready? I've gone through Matlab help, found something about doublebuffering, but it doesn't seem to work :/ Many thanks
From: Walter Roberson on 25 May 2010 12:18 Marcin wrote: > I have a GUI application which creates some plots. The plots consist of > many elements e.g. there is a surf plot, some lines superimposed on it > using plot3 etc. After the plot has been created I also manipulate the > axis (axis tight, axis equal). The problem is that it is all visible > during drawing, you can see how the plot rescales and how all the > elements appear in turn, which doesn't look too nice. Is it possible to > do all the plotting in the background and then display it, when it's > ready? Yes. set() the figure 'Visible' 'off' after creating it, add everything you want to it, and the set() it to 'Visible' 'on'.
|
Pages: 1 Prev: Renderer: Painters. export_fig Next: Differntiating user defined functions. |