Re: [Matplotlib-users] Appending an extra column in

2013-04-11 Thread Maximilian Trescher
Hi, for reading the data files you could user np.loadtxt("filename"). I'm not sure what kind of plot you want to create from this data, but probably you can find an appropriate plotting method on this page: http://matplotlib.org/mpl_toolkits/mplot3d/tutorial.html Max PS: Sorry for not sending m

Re: [Matplotlib-users] Appending an extra column in

2013-04-10 Thread Sayan Chatterjee
Thanks Maximillian for your help. Could you please tell me how to surface plot with those data files using Matplotlib?...i.e both reading the data files and then surface plotting in matplotlib? Sayan On 11 April 2013 02:25, Maximilian Trescher wrote: > Hi, > > > > *np.savetxt(fname, np.arra

[Matplotlib-users] Appending an extra column in

2013-04-10 Thread Sayan Chatterjee
Dear All, I have some data files with numpy arrays stored in it in 2 columns. I want to add a third column with just floating point numbers(not numpy array) and plot them later with Matplotlib in 3d. How is it done? Could you please illuminate me? This is the concerned snippet of the code: whil