From: shangping on 18 Jun 2010 17:54 Hello, I am trying to plot some figures really fast using pcolor (which is an actually 2D surface). I tried to use the opengl hardware acceleration but got nothing improvement. using opengl software: K>> opengl software K>> opengl info Version = 1.1.0 Vendor = Microsoft Corporation Renderer = GDI Generic MaxTextureSize = 1024 Visual = 09 (RGB 32 bits(08 08 08 00) zdepth 32, Generic, Opengl, Double Buffered, Window) Software = true # of Extensions = 3 Driver Bug Workarounds: OpenGLBitmapZbufferBug = 1 OpenGLWobbleTesselatorBug = 0 OpenGLLineSmoothingBug = 0 OpenGLDockingBug = 0 OpenGLClippedImageBug = 0 OpenGLEraseModeBug = 0 K>> tic,pcolor(x_pos,y_pos,data),shading interp,axis ij,axis equal,colorbar,drawnow,toc Elapsed time is 0.292876 seconds. K>> tic,pcolor(x_pos,y_pos,data),shading interp,axis ij,axis equal,colorbar,drawnow,toc Elapsed time is 0.255865 seconds. K>> tic,pcolor(x_pos,y_pos,data),shading interp,axis ij,axis equal,colorbar,drawnow,toc Elapsed time is 0.265222 seconds. try opengl hardware acceleration: K>> opengl hardware K>> opengl info Version = 1.4.0 - Build 7.14.10.4957 Vendor = Intel Renderer = Intel Bear Lake B MaxTextureSize = 2048 Visual = 04 (RGB 32 bits(08 08 08 08) zdepth 16, Hardware Accelerated, Opengl, Double Buffered, Window) Software = false # of Extensions = 50 Driver Bug Workarounds: OpenGLBitmapZbufferBug = 0 OpenGLWobbleTesselatorBug = 0 OpenGLLineSmoothingBug = 0 OpenGLDockingBug = 0 OpenGLClippedImageBug = 0 OpenGLEraseModeBug = 0 K>> tic,pcolor(x_pos,y_pos,data),shading interp,axis ij,axis equal,colorbar,drawnow,toc Elapsed time is 0.295664 seconds. K>> tic,pcolor(x_pos,y_pos,data),shading interp,axis ij,axis equal,colorbar,drawnow,toc Elapsed time is 0.272162 seconds. K>> tic,pcolor(x_pos,y_pos,data),shading interp,axis ij,axis equal,colorbar,drawnow,toc Elapsed time is 0.267038 seconds. I did not see any improvement and I tried it on some other computers, nothing new is found. Anyone can give me some hints? Thanks
From: us on 18 Jun 2010 20:29 "shangping " > Anyone can give me some hints? Thanks do NOT repeat your OPs without looking at what has been shown to you earlier(!)... http://www.mathworks.com/matlabcentral/newsreader/view_thread/284945#755724 us
|
Pages: 1 Prev: 3d interpolation Next: How to adjust only one limit for an axis |