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

2011-05-03 Thread Pau
Hello, I am looking for a way to feed R=log(M) to plot in the ms field (HERE in the example): plot(X, Y, \ marker='o', mec='black',ms=HERE,ls='None',\ mfc='red',alpha=0.9,mew=2,antialiased=True) thanks, Pau

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

2011-05-03 Thread Buchholz, Greg
Maybe you want to use the scatter procedure? http://matplotlib.sourceforge.net/examples/pylab_examples/scatter_demo.html?highlight=scatter http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.scatter -Original Message- From: Pau [mailto:vim.u...@googlemail.com]

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

2011-05-03 Thread Pau
thanks! I wish there was something similar to markeredgewidth in scatter, though But it's doing what I wanted, thanks Pau On 3 May 2011 19:21, Buchholz, Greg gbuchh...@infiniacorp.com wrote:    Maybe you want to use the scatter procedure?

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