Plot3 consuming too much RAM

2 次查看(过去 30 天)
Riz
Riz 2015-1-16
Hello,
I need to plot a 3D plot with around 1.6 million data points.
eg:
a1 = 1.6million X 3; %Say a collection of image pixels
a2 = 50 thousand X 3;
plot3(a1(:,1),a1(:,2), a1(:,3),'rx', a2(:,1),a2(:,2),a2(:,3),'go'));
The issue is that, the computer hangs when "plot3" command is executed. It takes about 3GB RAM to display the plot..!! I would have to "end task" MATLAB and restart again. I get this message the next time i restart MATLAB:
  • Warning: MATLAB previously crashed due to a low-level graphics error. To prevent another crash in this session, MATLAB is using software OpenGL instead of using your graphics hardware. To save this setting for future sessions, use the opengl('save', 'software') command. For more information, see Resolving Low-Level Graphics Issues. *
I do agree there are a lot of points, but this issue is happening only after the R2014b upgrade. The computer wouldn't hang in R2014a and older versions, even in 32 bit versions of MATLAB. I was able to view and rotate graphs in the previous versions. Kindly help. The system details are:
  • MATLAB Version- R2014b-64bit
  • Processor- Intel Core-i5-4200 @1.6 Ghz
  • OS- Windows 8.1, 64 bit
  • RAM- 4GB DDR3
  • Graphics- Intel HD Graphics 4400
Thank you.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Graphics Performance 的更多信息

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by