Re: [Matplotlib-users] Use a variable for the ms option in the plot function

2011-05-03 Thread Ian Bell
Pau, linewidth=xx (or lw=xx) does that job in scatter plots. Also see http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.scatterthough really it isn't very clear and I found it out by accident Regards, Ian Ian Bell Graduate Research Assistant Herrick Labs Purdue

Re: [Matplotlib-users] plotting points/locations from data file

2011-04-19 Thread Ian Bell
)): plt.text(lats[i],lon[i],str(i+1),ha='center',va='center',color='white') I'm sure there are a bunch of more compact ways to do this, but this should work. Ian Ian Bell Graduate Research Assistant Herrick Labs Purdue University email: ib...@purdue.edu cell: (607)227-7626 On Tue, Apr 19, 2011

Re: [Matplotlib-users] plotting points/locations from data file

2011-04-19 Thread Ian Bell
#matplotlib.pyplot.plotfor more information on the markers you can use. You are getting the error because you have a delimiter different than a single space, so it isn't splitting the line. Replace ' ' in the split command with your whitespace delimiter. Is it a tab? Then you want '\t' . Good luck, Ian Ian Bell

Re: [Matplotlib-users] plotting points/locations from data file

2011-04-19 Thread Ian Bell
]. It looks like you have two spaces as the delimiter currently based on your copy-paste. That's why split doesn't give you two values. In general I recommend that you avoid two spaces as the delimiter, just going to cause problems. Ian Bell Graduate Research Assistant Herrick Labs Purdue University

Re: [Matplotlib-users] plotting points/locations from data file

2011-04-19 Thread Ian Bell
types of files. Ian Ian Bell Graduate Research Assistant Herrick Labs Purdue University email: ib...@purdue.edu cell: (607)227-7626 On Tue, Apr 19, 2011 at 7:32 PM, G Jones glenn.calt...@gmail.com wrote: You may find it easier to use mlab.csv2rec or numpy.loadtxt. e.g. data = csv2rec

[Matplotlib-users] Matplotlib+GTKAgg+py2exe

2010-11-15 Thread Ian Bell
, ascii: False, custom_boot_script: '', } }, # using zipfile to reduce number of files in dist zipfile = r'libFiles\library.zip', data_files=data_files ) Ian Bell Graduate Research Assistant Herrick Labs