Issuu on Google+

close all tic x=[0 0 1]; y=[1 2 2]; z=[1 1 1]; hp = patch(x,y,z); colormap(autumn(3)) set(hp,'FaceVertexCData',[1;2;3]) set(hp,'FaceColor','interp','EdgeColor','interp') title('Smooth interpolation using OpenGL') set(gcf,'Renderer','OpenGL') toc

http://www.mathworks.com/support/tech-notes/1200/1201.shtml Selecting renderer: http://www.mathworks.com/help/techdoc/ref/figure_props.html#renderer Turning on/off features in Figure: http://www.mathworks.com/help/techdoc/ref/figure_props.html#renderermode dealing with live-update: http://www.mathworks.com/matlabcentral/answers/2529-figureplot-slow Figure property : http://www.mathworks.com/help/techdoc/ref/figure_props.html More MATLAB- side optimization: http://www.eetimes.com/design/signal-processingdsp/4017527/Speed-MATLAB-by-optimizing-memory-access More Mathlab official optimization: http://www.mathworks.com/help/techdoc/matlab_prog/brh72ex-25.html Tested the three different type of renderer. They all perform at similar speed. None is better than the other. painters - only simple picture (no gradient) zbuffer - simple picture OpenGL - can draw complex DOCUMENT: discussabout why 384 points is not big enough for cuda operation? i dunno. is that justify?


Solving Figure slowness