Use a variable for the ms option in the plot function

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

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.unix@…982…]
Sent: Tuesday, May 03, 2011 10:04 AM
To: matplotlib
Subject: [Matplotlib-users] Use a variable for the ms option in the
plot function

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

-----------------------------------------------------------------------
-------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
matplotlib-users List Signup and Options

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 <gbuchholz@...3595...> wrote:

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.unix@…982…]
Sent: Tuesday, May 03, 2011 10:04 AM
To: matplotlib
Subject: [Matplotlib-users] Use a variable for the ms option in the
plot function

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

-----------------------------------------------------------------------
-------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
matplotlib-users List Signup and Options

Pau,

linewidth=xx (or lw=xx) does that job in scatter plots. Also see http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.scatter though really it isn’t very clear and I found it out by accident

Regards,
Ian

···

Ian Bell
Graduate Research Assistant
Herrick Labs
Purdue University
email: ibell@…2939…
cell: (607)227-7626

On Tue, May 3, 2011 at 2:27 PM, Pau <vim.unix@…982…> wrote:

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 <gbuchholz@…3595…> wrote:

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.unix@…120…982…]

Sent: Tuesday, May 03, 2011 10:04 AM

To: matplotlib

Subject: [Matplotlib-users] Use a variable for the ms option in the

plot function

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



WhatsUp Gold - Download Free Network Management Software

The most intuitive, comprehensive, and cost-effective network

management toolset available today. Delivers lowest initial

acquisition cost and overall TCO of any competing solution.

http://p.sf.net/sfu/whatsupgold-sd


Matplotlib-users mailing list

Matplotlib-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/matplotlib-users


WhatsUp Gold - Download Free Network Management Software

The most intuitive, comprehensive, and cost-effective network

management toolset available today. Delivers lowest initial

acquisition cost and overall TCO of any competing solution.

http://p.sf.net/sfu/whatsupgold-sd


Matplotlib-users mailing list

Matplotlib-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/matplotlib-users