On 18/12/11 22:35, stm atoc wrote:
Well, I tried to check and I do not have that problem any more..but i
have the clear script as follows and a couple of question regarding to
this:
# coding: utf-8
from pylab import *
import numpy
import matplotlib.pyplot as pyplot
import matplotlib.mlab as mla
Well, I tried to check and I do not have that problem any more..but i
have the clear script as follows and a couple of question regarding to
this:
# coding: utf-8
from pylab import *
import numpy
import matplotlib.pyplot as pyplot
import matplotlib.mlab as mlab
#tmax=360
with open("ourtest_out.l
stm atoc wrote:
and this is the error that I got:
Would you like us to guess which line causes the error?
Please show the ENTIRE traceback. Do not retype it from memory, paraphrase or
simplify it, or otherwise change it in any way. Copy and paste it.
TypeError: unsupported operand type(s)
dsda=googlemail@python.org
Date: Sat, 17 Dec 2011 21:30:17
To: tutor
Subject: [Tutor] unsupported operand
Hi there,
I would like to define concentration array based on time and then plot it.
Here is the profile:
from pylab import *
import numpy
import array
import math
tmax=1*3600
t =
Hi there,
I would like to define concentration array based on time and then plot it.
Here is the profile:
from pylab import *
import numpy
import array
import math
tmax=1*3600
t = 1.
outfile=open('ourtest_out.list','w')
N = 100
Conc1 = arange([0, tmax])
outfile.close()
lw = 2.0 #linewidth
d