Reply
Thread Tools
Posts: 1,269 | Thanked: 3,961 times | Joined on May 2011 @ Brazil
#41
Third release of MatPlotLib 1.2.1 for MeeGo Harmattan, now :
- you can install it using Warehouse by tapping the "Install" button (no need of Terminal and 'apt-get install');
- MatPlotLib after installation is visible in MeeGo Harmattan Application Manager;
- python-dateutil is listed as dependency and is installed automatically.

See 1st post.
__________________
Python, C/C++, Qt and CAS developer. For Maemo/MeeGo/Sailfish :
Integral, Derivative, Limit - calculating mathematical integrals, derivatives and limits. SymPy - Computer Algebra System.
MatPlotLib - 2D & 3D plots in Python. IPython - Python interactive shell.
-- My blog about mobile & scientific computing ---
Sailfish : Sony Xperia X, Gemini, Jolla, Jolla C, Jolla Tablet, Nexus 4. Nokia N9, N900, N810.
 
Posts: 1,269 | Thanked: 3,961 times | Joined on May 2011 @ Brazil
#42
MatPlotLib 1.3.1 (10/10/2013) is now released for MeeGo Harmattan, with WebAgg interactive graphical backend and many new features. So the MeeGo Harmattan release for MatPlotLib 1.3.x has now 3 available backends : Qt4/PySide, WebAgg (both interactive) and Agg (non interactive).

This version needed some new dependencies for MeeGo Harmattan which I've packaged : "python-pyparsing", "Tofrodos" (needed by pyparsing) and "python-tz". Also dependencies "python-pyside" (for Qt4/PySide default backend) and "python-tornado" (for WebAgg backend) are automatically installed.

MatPlotLib 1.3.1 Harmattan is based on Debian jessie version and MatPlotLib 1.3.1 source code, without Python 3 support, no debug package, adapted dependencies to MeeGo Harmattan, etc.

See 1st post por details about installing and using MatPlotLib 1.3.1.

Time to load MatPlotLib 1.3.1 on Nokia N9 :
- 0.7-0.9s via "from matplotlib import *" ;
- 2.1-2.3s (with 1.9.0) via "import pylab" or "from pylab import *".

Benchmarks of MatPlotLib examples (see posts #1 and #4) with NumPy 1.7.x on Nokia N9 :
simple_plot.py : 3.2s (1.0.0), 4.8s (1.2.0), 3.7s (1.3.1)
surface3d_demo.py : 12.1s (1.0.0), 10.9s (1.2.0), 5.2s (1.3.1)
convfield.py : 3.2s (1.0.0), 4.8s (1.2.0), 3.8s (1.3.1)
plotfx.py : 6.4s (1.0.0), 8.9s (1.2.0), 2.9s (1.3.1)
contourfxy.py : 8.3s (1.0.0), 10.9s (1.2.0), 8.9s (1.3.1)
densityfxy.py : 8.0s (1.0.0), 10.6s (1.2.0), 8.5s (1.3.1)
vectorfieldFxy.py : 6.5s (1.0.0), 8.6s (1.2.0), 6.7s (1.3.1)
surfacefxy.py : 22.8s (1.0.0), 19.0s (1.2.0), 13.4s (1.3.1)

The same using MatPlotLib 1.2.1 and 1.3.1 with NumPy 1.9.0 on Nokia N9 :
simple_plot.py : 3.4s (1.2.1), 3.3s (1.3.1)
surface3d_demo.py : 3.7s (1.2.1), 3.9s (1.3.1)
convfield.py : 3.5s (1.2.1), 3.5s (1.3.1)
plotfx.py : 2.6s (1.2.1), 2.6s (1.3.1)
contourfxy.py : 8.2s (1.2.1), 8.4s (1.3.1)
densityfxy.py : 7.9s (1.2.1), 8.1s (1.3.1)
vectorfieldFxy.py : 7.0s (1.2.1), 6.4s (1.3.1)
surfacefxy.py : 10.6s (1.2.1), 10.9s (1.3.1)

See post #32 for older MatPlotLib 1.2.x benchmarks.

Conclusion :
- NumPy 1.9.x is faster than older versions;
- MatPlotLib 1.3.x is faster than v1.2.x;
- so it is recommeded to use last versions of MatPlotLib (1.3.1) and NumPy (1.9.0) for best performance on MeeGo Harmattan.
__________________
Python, C/C++, Qt and CAS developer. For Maemo/MeeGo/Sailfish :
Integral, Derivative, Limit - calculating mathematical integrals, derivatives and limits. SymPy - Computer Algebra System.
MatPlotLib - 2D & 3D plots in Python. IPython - Python interactive shell.
-- My blog about mobile & scientific computing ---
Sailfish : Sony Xperia X, Gemini, Jolla, Jolla C, Jolla Tablet, Nexus 4. Nokia N9, N900, N810.

Last edited by rcolistete; 2014-10-21 at 22:28.
 

The Following User Says Thank You to rcolistete For This Useful Post:
Posts: 1,269 | Thanked: 3,961 times | Joined on May 2011 @ Brazil
#43
MatPlotLib 1.4.0&1.4.2 were packaged and made available in OpenRepos.net in 02/11/2014 for a couple of hours. But after some benchmarks, I realised that there are some issues rendering v1.4.x very slow to load, so I removed it from OpenRepos.net. MatPlotLib 1.3.1 remains the last version for MeeGo Harmattan while I try to solve the issues of MatPlotLib v1.4.x. Ubuntu 14.04/14.10 uses MatPlotLib 1.3.1.

python-six 1.3.0/1.4.0/1.8.0, which was packaged in the last days because it is a dependency of MatPlotLib 1.4.x, was also hard to package due to some original Debian/Ubuntu build dependencies, etc.

Anyway, MatPlotLib is a very complex project with more than 300 thousand of code lines, with many dependencies, so compiling and packaging it for MeeGo Harmattan .deb is some art.
__________________
Python, C/C++, Qt and CAS developer. For Maemo/MeeGo/Sailfish :
Integral, Derivative, Limit - calculating mathematical integrals, derivatives and limits. SymPy - Computer Algebra System.
MatPlotLib - 2D & 3D plots in Python. IPython - Python interactive shell.
-- My blog about mobile & scientific computing ---
Sailfish : Sony Xperia X, Gemini, Jolla, Jolla C, Jolla Tablet, Nexus 4. Nokia N9, N900, N810.

Last edited by rcolistete; 2014-11-03 at 20:44.
 

The Following User Says Thank You to rcolistete For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 12:50.