[sage-support] How to replace RandomArray, RNG, whrandom and LinearAlgebra ?

2010-05-21 Thread zetro
Above mentioned modules doesn't work in newer versions of python i guess? Has their name only changed or what other modules should i use so that i could translate in Sage older python code with those modules ? Also, i have a piece of code below that doesn't work anymore. Old python also. Isn't the

[sage-support] Re: Why isn't Sage showing plots from matplotlib/pylab ?

2010-05-14 Thread zetro
oth those cells it shows the plots in the same figure (even if I save those plot with different names ex. 'foo1.png' and 'foo2.png'). Is there any way to get only one plot in one figure? On May 12, 3:03 pm, Tim Joseph Dumol wrote: > Hi, > > > > On Wed, May 12, 20

[sage-support] Why isn't Sage showing plots from matplotlib/pylab ?

2010-05-12 Thread zetro
Hello. I'm wondering why these lines doesn't show me any plots: import matplotlib.pyplot as plt plt.plot([1,2,3]) plt.ylabel('some numbers') plt.show() or from pylab import * t = arange(0.0, 2.0, 0.01) s = sin(2*pi*t) plot(t, s, linewidth=1.0) xlabel('time (s)') ylabel('voltage (mV)') title('Ab