Plotting Large arrays

10 vues (au cours des 30 derniers jours)
Bharathwaj
Bharathwaj le 8 Jan 2012
Réponse apportée : nick le 14 Avr 2025
I have a 10000X10000 array. My system has a 3GB RAM. Computations on this array happen fast, but when i try to plot these arrays the system hangs or doesnt respond.Any tricks / suggestions to circumvent this problem?
  1 commentaire
Jan
Jan le 8 Jan 2012
Please post the method you use for plotting. It matters if you use LINE, PLOT, PATCH or SURFACE.

Connectez-vous pour commenter.

Réponses (1)

nick
nick le 14 Avr 2025
Hi Barathwaj,
You can increase the Java heap memory in MATLAB preferences under Java Heap Memoery tab collapsed under General tab.
Additionally, assuming the array represents a dataset with each row representing a new entry, you can consider processing array in smaller batches and visualize results separately.
Hope this helps

Community Treasure Hunt

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

Start Hunting!

Translated by