Borrar filtros
Borrar filtros

why did contourf crashes matlab?

1 visualización (últimos 30 días)
Tonny
Tonny el 23 de Feb. de 2014
Editada: Tonny el 25 de Feb. de 2014
Hi guys,
Some help appreciated here. Basically i have a 2d Array of size 1000x1000. I use my initial data to plot using contourf, and things worked out beautifully.
So I process the data and tried plotting it again but Matlab hangs while it is suppose to plot (Pardon the jet(128) yet I use 64 after). I tried both 64 as well or both 128 but still have the same issue.
As you can see, I successfully processed the data but it somehow got stuck at the plotting of the data. When i commented the contourf, the program manage to proceed to the end. The data is completed with all 1000x1000 values in there. I even updated my graphic card driver in case that's the issue. Any idea what could have gone wrong? Is the data size too big? Or the fluctuations in values causes the limitation.
Thanks in advance.
Best regards, Tonny
  4 comentarios
Walter Roberson
Walter Roberson el 24 de Feb. de 2014
Are you using 32 bit MATLAB or 64 bit MATLAB? How much memory do you have installed?
Memory to store the graph is going to come out of the RAM you have.
Tonny
Tonny el 25 de Feb. de 2014
Oh. I'm using a 62bit MATLAB with 4GB of ddr3 ram.

Iniciar sesión para comentar.

Respuesta aceptada

Image Analyst
Image Analyst el 24 de Feb. de 2014
Can you just display as an image? I mean you have a 1000x1000 2D array of numbers, so why not? Use image(), imshow(), or imagesc().
  1 comentario
Tonny
Tonny el 25 de Feb. de 2014
Editada: Tonny el 25 de Feb. de 2014
Great suggestion =) Thank you and thanks Walter for helping me!

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by