|
2012-02-04
, 22:34
|
Posts: 1,269 |
Thanked: 3,961 times |
Joined on May 2011
@ Brazil
|
#12
|
|
2012-02-05
, 23:37
|
Posts: 1,269 |
Thanked: 3,961 times |
Joined on May 2011
@ Brazil
|
#13
|
The Following User Says Thank You to rcolistete For This Useful Post: | ||
|
2012-02-07
, 22:00
|
Posts: 1,269 |
Thanked: 3,961 times |
Joined on May 2011
@ Brazil
|
#14
|
|
2012-02-22
, 17:22
|
Posts: 1,269 |
Thanked: 3,961 times |
Joined on May 2011
@ Brazil
|
#15
|
|
2012-02-29
, 19:38
|
Posts: 9 |
Thanked: 0 times |
Joined on Feb 2012
|
#16
|
|
2012-03-01
, 17:11
|
Posts: 1,269 |
Thanked: 3,961 times |
Joined on May 2011
@ Brazil
|
#17
|
It's great to have Matlab-like capabilities on smartphone! Any new development on MeeGo Harmattan?
|
2012-03-10
, 14:57
|
Posts: 1,269 |
Thanked: 3,961 times |
Joined on May 2011
@ Brazil
|
#18
|
|
2012-03-10
, 17:40
|
Posts: 6 |
Thanked: 8 times |
Joined on Oct 2010
|
#19
|
|
2012-03-10
, 17:55
|
Posts: 1,269 |
Thanked: 3,961 times |
Joined on May 2011
@ Brazil
|
#20
|
One thing I'm really missing on my N900:
a Python shell which has an integrated on-screen number block (for numbers and maybe a few other characters which are often needed for Python and for use as calculator).
Regards,
Dietmar
The Following User Says Thank You to rcolistete For This Useful Post: | ||
Maemo 5 users need to install the optional dependency "PyGlet", see how to install it in the 1st post of this topic.
The SymPy 'Plot' section of the SymPy for smartphones & tablets site has a lot of links, hints, tips and examples.
The new version of SymPy for Maemo 5 (see post below) shows after "?Plot" the following keyboard controls (stylus controls translation for 2D graphics and rotation for 3D graphics), where the 'SHIFT' modifier is used for smooth movements of 3D plots :
Examples of SymPy 'Plot()' :
Function of 1 variable, y = f(x), a dumped harmonic oscillator :
In [1]: Plot(2.5*exp(-1.0*x/2)*cos(pi*x), [0,10,150], width=800, caption='Dumped harmonic oscillator')
Timing : 12s / 2s (repeated).
2D parametric function of 1 variable, x = f(t), y = g(t), an explosion :
In [1]: Plot(t*sin(8*t)*cos(8*t)*cos(t), t*sin(8*t)*cos(8*t)*sin(t), [0,4*pi,1600], width=800, caption='Parametric Explosion', axes='stride=1.0')
Timing : 57s / 17s (repeated).
3D parametric curve of 1 variable, x = f(t), y = g(t), z = h(t), a wire 3D curve :
In [1]: Plot((2+cos(16*t))*cos(t), (2+cos(16*t))*sin(t), sin(16*t), [800], axes='colored=true', width=800, caption='Wire 3D curve')
Timing : 51s / 9s (repeated).
3D surface in cartesian coordinates, z = f(x,y), a surface z colored :
In [1]: Plot(5*x*y*exp(-x**2-y**2), [-2,2,100], [-2,2,100], 'color=zfade4', axes='colored=true', width=800, caption='Surface z colored')
Timing : 36s / 30s (repeated).
3D surface in cylindrical coordinates, r = f(theta=t,z=h), a wormhole :
In [1]: Plot(z**2/4+1, [], [z,-3,3], 'mode=cylindrical; style=both; color=zfade4', axes='colored=true', width=800, caption='Wormhole surface')
Timing : 25s / 16s (repeated).
The SymPy 'preview()' function partially works on Maemo 5. For example :
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; 2013-01-16 at 04:23. Reason: Labels on axes problem on Maemo 5 is cited