hi all,
i am reading a set of tab-separated data from a file and i want to put it
into an array, and then plot some of the columns. i know the number of
columns ahead of time but not the number of rows. i load the array from the
file as follows, which seems to work:
data = []
for line in myfile:
hi all,
please disregard the previous email - i had a mistake in my file that did
not do the casting properly when loading the data.
i managed to plot my data, but this time i am having a problem with the
'bar' function.
when i plot using:
x = data[:, 0]
y = data[:, 1]
bar(x,y)
i get the
per freem wrote:
hi all,
please disregard the previous email - i had a mistake in my file that
did not do the casting properly when loading the data.
i managed to plot my data, but this time i am having a problem with the
'bar' function.
when i plot using:
x = data[:, 0]
y =