Mathematica vs gnuplot vs matplotlib (efficency)

Click For Summary
SUMMARY

The discussion centers on the efficiency of Mathematica 7 compared to gnuplot and matplotlib for visualizing large datasets, specifically a 3D array of size 25x24000x100. The user experienced significant delays with Mathematica, taking approximately 15 minutes to import data before the kernel quit. They are exploring whether gnuplot or matplotlib would provide faster performance for visualizing large arrays, particularly for creating animations and manipulating plots.

PREREQUISITES
  • Understanding of 3D array structures in C programming
  • Familiarity with data visualization tools: Mathematica 7, gnuplot, and matplotlib
  • Basic knowledge of Python programming for matplotlib usage
  • Experience with handling large datasets in plain text format
NEXT STEPS
  • Learn how to optimize data import in gnuplot for large datasets
  • Explore matplotlib's capabilities for creating animations with large arrays
  • Investigate performance benchmarks between Mathematica 7, gnuplot, and matplotlib
  • Study techniques for efficient data manipulation in Python for visualization purposes
USEFUL FOR

Data scientists, software developers, and researchers who need to visualize large datasets efficiently, particularly those using C programming and exploring alternatives to Mathematica for data visualization.

andresordonez
Messages
65
Reaction score
0
Hi, I'm currently working on a C program where I have a huge 2d array that changes with time, so in the end, what I have is a 3d array (double 25*24000*100) in a plain text file (about 700MB). I tried to import with Mathematica7 as a "Table" but after a long time (about 15 minutes) the kernel just quit (though it didn't crashed).

So far, I've been using C to perform the main task of my program so to speak, and I use Mathematica only to visualize the results (Import, Plot, AnimateList, etc). Usually the C part takes longer than the visualization part, but now it's the other way.

I would like to know if using gnuplot or matplotlib (python) is significantly faster than using mathematica for the kind of arrays I'm using. I've used both (gnuplot and python) to make simple plots, but I would have to spend some time learning how to make animations and manipulating the plots, besides manipulating the imported arrays.

Thanks!
 
Last edited:
Physics news on Phys.org


I have been using gnuplot for drawing very huge datas as yours. When you learn, it is full of joy. You can find the relevant information through the net.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 4 ·
Replies
4
Views
8K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 15 ·
Replies
15
Views
8K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 14 ·
Replies
14
Views
3K
Replies
7
Views
3K
  • · Replies 11 ·
Replies
11
Views
17K