Hi Oğuz,
Oğuz Yarımtepe, on 2011-04-13 23:09, wrote:
> I didn't understand why i can not see 20 dots with the below command,
> but i just see 3 dots at the graph.
> a1 = N.ndarray(shape=(10,2))*2
When you allocate an array this way - you're just allocating
space for it without initializing it t
I didn't understand why i can not see 20 dots with the below command,
but i just see 3 dots at the graph.
import pylab as P
import numpy as N
a1 = N.ndarray(shape=(10,2))*2
x = a1[:,0]
y = a1[:,1]
a2 = N.ndarray(shape=(10,2))+10
xx = a2[:,0]
yy = a2[:,1]
n_x = N.append(x,xx)
n_y = N.append(y,