[Tutor] Graphing from python (replacement for matlab??)

Magnus Lycka magnus@thinkware.se
Wed Oct 23 04:09:02 2002


You might be interested in SciPy, see http://www.scipy.org/
or other scientific and mathematical stuff (see
http://www.thinkware.se/cgi-bin/thinki.cgi/PythonInScience )

Other plotting things can be found at:
http://www.thinkware.se/cgi-bin/thinki.cgi/PythonForImaging


At 23:07 2002-10-22 -0700, Galen O'Neil wrote:
>Hola,
>I'm doing some difference equations, math that requires a few simple
>loops and if statements, then needs to be plotted.  I'm using octave,
>and it works, but the programs are SO UGLY!  I want to use python!!  Are
>there any good, and easy to use, graphing utilities, or can I interface
>it with gnuplot?
>It's actually not _that_ bad, but I would still like to use python if
>its feasible.  For small programs, and small numbers of iterations, the
>speed difference should be negligible.  How would python compare with
>octave for larger computations?
>Thank you!!
>Galen
>
><Matlab/Octave code>
>
>function x=3Dtent(start, alpha, times)
>
>x(1)=3Dstart;
>
>for n=3D1:times,
>         if x(n) < .5, x(n+1)=3D2*alpha*x(n);
>                 else x(n+1)=3D2*alpha*[1-x(n)];
>         end
>end
>
></Matlab/Octave code>
>
>
>
>
>_______________________________________________
>Tutor maillist  -  Tutor@python.org
>http://mail.python.org/mailman/listinfo/tutor

--=20
Magnus Lyck=E5, Thinkware AB
=C4lvans v=E4g 99, SE-907 50 UME=C5
tel: 070-582 80 65, fax: 070-612 80 65
http://www.thinkware.se/  mailto:magnus@thinkware.se