You can subscribe to this list here.
| 2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
(12) |
Sep
(12) |
Oct
(56) |
Nov
(65) |
Dec
(37) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2004 |
Jan
(59) |
Feb
(78) |
Mar
(153) |
Apr
(205) |
May
(184) |
Jun
(123) |
Jul
(171) |
Aug
(156) |
Sep
(190) |
Oct
(120) |
Nov
(154) |
Dec
(223) |
| 2005 |
Jan
(184) |
Feb
(267) |
Mar
(214) |
Apr
(286) |
May
(320) |
Jun
(299) |
Jul
(348) |
Aug
(283) |
Sep
(355) |
Oct
(293) |
Nov
(232) |
Dec
(203) |
| 2006 |
Jan
(352) |
Feb
(358) |
Mar
(403) |
Apr
(313) |
May
(165) |
Jun
(281) |
Jul
(316) |
Aug
(228) |
Sep
(279) |
Oct
(243) |
Nov
(315) |
Dec
(345) |
| 2007 |
Jan
(260) |
Feb
(323) |
Mar
(340) |
Apr
(319) |
May
(290) |
Jun
(296) |
Jul
(221) |
Aug
(292) |
Sep
(242) |
Oct
(248) |
Nov
(242) |
Dec
(332) |
| 2008 |
Jan
(312) |
Feb
(359) |
Mar
(454) |
Apr
(287) |
May
(340) |
Jun
(450) |
Jul
(403) |
Aug
(324) |
Sep
(349) |
Oct
(385) |
Nov
(363) |
Dec
(437) |
| 2009 |
Jan
(500) |
Feb
(301) |
Mar
(409) |
Apr
(486) |
May
(545) |
Jun
(391) |
Jul
(518) |
Aug
(497) |
Sep
(492) |
Oct
(429) |
Nov
(357) |
Dec
(310) |
| 2010 |
Jan
(371) |
Feb
(657) |
Mar
(519) |
Apr
(432) |
May
(312) |
Jun
(416) |
Jul
(477) |
Aug
(386) |
Sep
(419) |
Oct
(435) |
Nov
(320) |
Dec
(202) |
| 2011 |
Jan
(321) |
Feb
(413) |
Mar
(299) |
Apr
(215) |
May
(284) |
Jun
(203) |
Jul
(207) |
Aug
(314) |
Sep
(321) |
Oct
(259) |
Nov
(347) |
Dec
(209) |
| 2012 |
Jan
(322) |
Feb
(414) |
Mar
(377) |
Apr
(179) |
May
(173) |
Jun
(234) |
Jul
(295) |
Aug
(239) |
Sep
(276) |
Oct
(355) |
Nov
(144) |
Dec
(108) |
| 2013 |
Jan
(170) |
Feb
(89) |
Mar
(204) |
Apr
(133) |
May
(142) |
Jun
(89) |
Jul
(160) |
Aug
(180) |
Sep
(69) |
Oct
(136) |
Nov
(83) |
Dec
(32) |
| 2014 |
Jan
(71) |
Feb
(90) |
Mar
(161) |
Apr
(117) |
May
(78) |
Jun
(94) |
Jul
(60) |
Aug
(83) |
Sep
(102) |
Oct
(132) |
Nov
(154) |
Dec
(96) |
| 2015 |
Jan
(45) |
Feb
(138) |
Mar
(176) |
Apr
(132) |
May
(119) |
Jun
(124) |
Jul
(77) |
Aug
(31) |
Sep
(34) |
Oct
(22) |
Nov
(23) |
Dec
(9) |
| 2016 |
Jan
(26) |
Feb
(17) |
Mar
(10) |
Apr
(8) |
May
(4) |
Jun
(8) |
Jul
(6) |
Aug
(5) |
Sep
(9) |
Oct
(4) |
Nov
|
Dec
|
| 2017 |
Jan
(5) |
Feb
(7) |
Mar
(1) |
Apr
(5) |
May
|
Jun
(3) |
Jul
(6) |
Aug
(1) |
Sep
|
Oct
(2) |
Nov
(1) |
Dec
|
| 2018 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2025 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
1
(8) |
|
2
(2) |
3
(8) |
4
(19) |
5
(19) |
6
(25) |
7
(8) |
8
(1) |
|
9
|
10
(15) |
11
(22) |
12
(8) |
13
(4) |
14
(1) |
15
|
|
16
(1) |
17
(20) |
18
(17) |
19
(13) |
20
(17) |
21
(7) |
22
(5) |
|
23
(6) |
24
(14) |
25
(14) |
26
(18) |
27
(21) |
28
(5) |
29
(9) |
|
30
(6) |
|
|
|
|
|
|
|
From: Fabian B. <f.b...@gm...> - 2006-04-11 13:40:10
|
Hi, * Andrew Straw <str...@as...> wrote: > Nils Wagner wrote: > >> Hi all, >> >> Given a set of points (x_i,y_i,z_i) >> is it possible to plot y_i versus x_i with a varying color >> corresponding to the magnitude of z_i ? >> >> Nils >> > http://scipy.org/Wiki/Cookbook/Matplotlib/Gridding_irregularly_spaced_data Maybe, I am kind of stupid, but where do I find the delaunay module used in the example on that side? Greetings! Fabian |
|
From: Andrea G. <and...@gm...> - 2006-04-11 13:34:40
|
Hello NG,
I am trying to use imshow() with a dinamically changing set of matrices=
.
What my application does, is just to respond to a user selection from a
wxPython radiobutton and, based on the user's choice, display a different
matrix on a matplotlib figure (I am using the OO interface). I also have an
horizontal colorbar to let the user orient himself over the matrix
values. Well, these matrices have different magnitues in value, and I was
expecting that the colorbar would be updated with the new image data.
Isn't the colorbar supposed to update when the input image/pcolor/whatever
changes?
This is what I have at the moment:
self.palette =3D matplotlib.cm.jet
minp =3D min(property)
maxp =3D max(property)
# here do the property reshape to get a matrix...
# imshow the matrix
if not hasattr(self, "image"):
self.image =3D self.leftaxis.imshow(property, cmap=3Dself.palette,
=20
norm=3Dcolors.normalize(vmin=3Dminp,
vmax=3Dmaxp, clip=3DFalse))
else:
self.image.set_array(property)
self.image.set_norm(norm=3Dcolors.normalize(vmin=3Dminp, vmax=3Dmaxp,
clip=3DFalse))
# if it doesn't exist, create a colorbar
if not hasattr(self, "colorbar"):
self.colorbar =3D self.fig.colorbar(self.image, cax=3Dself.cax,
orientation=3D"horizontal")
self.canvas.draw()
It doesn't work... I mean, the colorbar axis limits are updated, but not th=
e
colorbar colors. Let's suppose that the first matrix has a
min(property)=3D1000 and max(property)=3D10000, I get that values around 10=
00
are red/maroon. When I select the second matrix, with min(property)=3D1 and
max(property)=3D10, everything in the colorbar is red/maroon...
Is there a solution for this kind of problem? Am I missing something?
Thank you very much for your suggestions.
Andrea.
--
"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.virgilio.it/infinity77/
|
|
From: Lionel R. <lro...@li...> - 2006-04-11 06:59:22
|
The same code, with the right license :-) Hope it can help someone. Le Lundi 10 Avril 2006 17:42, John Hunter a =E9crit=A0: > >>>>> "Lionel" =3D=3D Lionel Roubeyrie <lro...@li...> writes: > > Lionel> Hi, ok for the code, here it is, and by advance, sorry for > Lionel> my poor english :-/ > > Hi Lionel, thanks for this code. I took a quick peek. matplotlib > does not accept code under the GPL license. The license we use is > based on the python software foundation license and is more permissive > than the GPL, in that it allows people to redistribute matplotlib in > closed-source proprietary apps. So if you would like for us to > include your windrose code (or a derivative of it) we will need it > preferably under the matplotlib license, or a BSD/MIT like license. > > Here is a post I wrote earlier in another project I was involved in > about why I prefer the use of more permissive BSD-like licenses like > the python license > > https://cirl.berkeley.edu/view/Grants/LicensingPitch > > Thanks! > JDH > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting langua= ge > that extends applications into web and mobile media. Attend the live > webcast and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat= =3D121642 > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users =2D-=20 Lionel Roubeyrie - lro...@li... LIMAIR http://www.limair.asso.fr |
|
From: Nils W. <nw...@me...> - 2006-04-10 18:25:43
|
On Mon, 10 Apr 2006 13:14:07 -0500 John Hunter <jdh...@ac...> wrote: >>>>>> "Nils" =3D=3D Nils Wagner <nw...@me...>=20 >>>>>>writes: > Nils> verbose.level helpful interactive is False=20 >platform is > Nils> linux2 numerix numarray 1.5.1 font search path >=20 > Your numerix setting is numarray >=20 > Nils> line 832, in __getitem__ if self._data.rank =3D=3D=20 >0: > Nils> AttributeError: 'numpy.ndarray' object has no=20 >attribute > Nils> 'rank' >=20 > You are using numpy arrays >=20 > Nils> How can I resolve this problem ? >=20 > from numpy import * > from pylab import * > from scipy.sandbox.delaunay import * >=20 > This is bad form. The first line is bringing in the=20 >numpy namespace, > pylab then imports the numerix namespace, in your case=20 >it is import > numarray, and then the scipy import overrides that,=20 >leaving you some > godawful mash of symbols. >=20 > Make sure your numerix setting agrees with the array=20 >objects you are > using. Perhaps you want to change your matplotlib=20 >'numerix' setting > to 'numpy' or else use the numarray ndimage package. >=20 > In general, you will be safer doing something like >=20 > import matplotlib.numerix as nx > from pylab import figure, show, etc... >=20 > Ie, make sure you know where the various functions you=20 >are using come from. >=20 > JDH >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking=20 >scripting language > that extends applications into web and mobile media.=20 >Attend the live webcast > and join the prime developer group breaking into this=20 >new coding territory! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat= =3D121642 > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users Sorry for my empty reply. I have changed my matplotlibrc. numerix : numpy # It works fine for me. Thank you again. Nils |
|
From: Nils W. <nw...@me...> - 2006-04-10 18:22:25
|
On Mon, 10 Apr 2006 13:14:07 -0500 John Hunter <jdh...@ac...> wrote: >>>>>> "Nils" =3D=3D Nils Wagner <nw...@me...>=20 >>>>>>writes: > Nils> verbose.level helpful interactive is False=20 >platform is > Nils> linux2 numerix numarray 1.5.1 font search path >=20 > Your numerix setting is numarray >=20 > Nils> line 832, in __getitem__ if self._data.rank =3D=3D=20 >0: > Nils> AttributeError: 'numpy.ndarray' object has no=20 >attribute > Nils> 'rank' >=20 > You are using numpy arrays >=20 > Nils> How can I resolve this problem ? >=20 > from numpy import * > from pylab import * > from scipy.sandbox.delaunay import * >=20 > This is bad form. The first line is bringing in the=20 >numpy namespace, > pylab then imports the numerix namespace, in your case=20 >it is import > numarray, and then the scipy import overrides that,=20 >leaving you some > godawful mash of symbols. >=20 > Make sure your numerix setting agrees with the array=20 >objects you are > using. Perhaps you want to change your matplotlib=20 >'numerix' setting > to 'numpy' or else use the numarray ndimage package. >=20 > In general, you will be safer doing something like >=20 > import matplotlib.numerix as nx > from pylab import figure, show, etc... >=20 > Ie, make sure you know where the various functions you=20 >are using come from. >=20 > JDH >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking=20 >scripting language > that extends applications into web and mobile media.=20 >Attend the live webcast > and join the prime developer group breaking into this=20 >new coding territory! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat= =3D121642 > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users Dr.-Ing. Nils Wagner Universit=E4t Stuttgart Institut f=FCr Angewandte und Experimentelle Mechanik Pfaffenwaldring 9 D-70550 Stuttgart Phone: +49 (0)711 685 6262 Fax: +49 (0)711 685 6282 E-mail: nw...@me... URL: http://www.mecha.uni-stuttgart.de |
|
From: John H. <jdh...@ac...> - 2006-04-10 18:17:24
|
>>>>> "Nils" == Nils Wagner <nw...@me...> writes:
Nils> verbose.level helpful interactive is False platform is
Nils> linux2 numerix numarray 1.5.1 font search path
Your numerix setting is numarray
Nils> line 832, in __getitem__ if self._data.rank == 0:
Nils> AttributeError: 'numpy.ndarray' object has no attribute
Nils> 'rank'
You are using numpy arrays
Nils> How can I resolve this problem ?
from numpy import *
from pylab import *
from scipy.sandbox.delaunay import *
This is bad form. The first line is bringing in the numpy namespace,
pylab then imports the numerix namespace, in your case it is import
numarray, and then the scipy import overrides that, leaving you some
godawful mash of symbols.
Make sure your numerix setting agrees with the array objects you are
using. Perhaps you want to change your matplotlib 'numerix' setting
to 'numpy' or else use the numarray ndimage package.
In general, you will be safer doing something like
import matplotlib.numerix as nx
from pylab import figure, show, etc...
Ie, make sure you know where the various functions you are using come from.
JDH
|
|
From: Eric F. <ef...@ha...> - 2006-04-10 18:13:06
|
Nils, You are mixing numarray with numpy. Try setting numerix : numpy # numpy, Numeric or numarray in your .matplotlib/matplotlibrc Eric Nils Wagner wrote: > On Mon, 10 Apr 2006 10:54:25 -0500 > John Hunter <jdh...@ac...> wrote: > >>>>>>> "Nils" == Nils Wagner <nw...@ia...> writes: >> >> >> Nils> Hi all, Given a set of points (x_i,y_i,z_i) is it possible >> Nils> to plot y_i versus x_i with a varying color corresponding to >> Nils> the magnitude of z_i ? Nils >> >> We can't do this in 3D, but you can do it in 2D with a pseudo color >> plot. If your z-y data do not lie on a grid, you need to interpolate >> them onto a grid first >> >> http://www.scipy.org/Wiki/Cookbook/Matplotlib/Gridding_irregularly_spaced_data >> >> >> JDH >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by xPML, a groundbreaking scripting >> language >> that extends applications into web and mobile media. Attend the live >> webcast >> and join the prime developer group breaking into this new coding >> territory! >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 >> _______________________________________________ >> Matplotlib-users mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > > Hi John, > > Thank you for your hint. I tried the script > > /usr/bin/python irregular.py --verbose-helpful > matplotlib data path /usr/lib/python2.4/site-packages/matplotlib/mpl-data > $HOME=/home/nwagner > loaded rc file /home/nwagner/matplotlibrc > matplotlib version 0.88 > verbose.level helpful > interactive is False > platform is linux2 > numerix numarray 1.5.1 > font search path ['/usr/lib/python2.4/site-packages/matplotlib/mpl-data'] > CONFIGDIR=/home/nwagner/.matplotlib > loaded ttfcache file /home/nwagner/.matplotlib/ttffont.cache > backend GTKAgg version 2.5.3 > import linsolve.umfpack -> failed: No module named _umfpack > /usr/lib/python2.4/site-packages/numpy/core/ma.py:601: UserWarning: > Cannot automatically convert masked array to numeric because data > is masked in one or more locations. > warnings.warn("Cannot automatically convert masked array to "\ > /usr/lib/python2.4/site-packages/numarray/numarraycore.py:383: > UserWarning: __array__ returned non-NumArray instance > _warnings.warn("__array__ returned non-NumArray instance") > Traceback (most recent call last): > File "irregular.py", line 40, in ? > plot_data(xi,yi,zi) > File "irregular.py", line 14, in plot_data > pcolor(xi,yi,zim,shading='interp',cmap=cm.gray) > File "/usr/lib/python2.4/site-packages/matplotlib/pylab.py", line > 1913, in pcolor > ret = gca().pcolor(*args, **kwargs) > File "/usr/lib/python2.4/site-packages/matplotlib/axes.py", line 2519, > in pcolor > C = compress(ravel(mask==0),ravel(ma.filled(C[0:Nx-1,0:Ny-1]))) > File "/usr/lib/python2.4/site-packages/numarray/ma/MA.py", line 832, > in __getitem__ > if self._data.rank == 0: > AttributeError: 'numpy.ndarray' object has no attribute 'rank' > > > How can I resolve this problem ? > > Nils > > > ------------------------------------------------------------------------ > > from numpy import * > from pylab import * > from scipy.sandbox.delaunay import * > import numpy.core.ma as ma > > def plot_nodes(tri): > for nodes in tri.triangle_nodes: > fill(x[nodes],y[nodes],'b') > show() > > def plot_data(xi,yi,zi): > zim = ma.masked_where(isnan(zi),zi) > figure(figsize=(8,8)) > pcolor(xi,yi,zim,shading='interp',cmap=cm.gray) > contour(xi,yi,zim,cmap=cm.jet) > show() > > if __name__ == '__main__': > N = 10000 > aspect = 1.0 > > # Data > x = randn(N)/aspect > y = randn(N) > z = rand(N) > > # Grid > xi, yi = mgrid[-5:5:100j,-5:5:100j] > > # triangulate data > tri = Triangulation(x,y) > > # interpolate data > interp = tri.nn_interpolator(z) > > zi = interp(xi,yi) > # or, all in one line > # zi = Triangulation(x,y).nn_interpolator(z)(xi,yi) > > plot_data(xi,yi,zi) |
|
From: Nils W. <nw...@me...> - 2006-04-10 17:59:42
|
On Mon, 10 Apr 2006 10:54:25 -0500 John Hunter <jdh...@ac...> wrote: >>>>>> "Nils" =3D=3D Nils Wagner <nw...@ia...>=20 >>>>>>writes: >=20 > Nils> Hi all, Given a set of points (x_i,y_i,z_i) is=20 >it possible > Nils> to plot y_i versus x_i with a varying color=20 >corresponding to > Nils> the magnitude of z_i ? Nils >=20 > We can't do this in 3D, but you can do it in 2D with a=20 >pseudo color > plot. If your z-y data do not lie on a grid, you need=20 >to interpolate > them onto a grid first >=20 > http://www.scipy.org/Wiki/Cookbook/Matplotlib/Gridding_irregularly_spac= ed_data >=20 > JDH >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking=20 >scripting language > that extends applications into web and mobile media.=20 >Attend the live webcast > and join the prime developer group breaking into this=20 >new coding territory! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat= =3D121642 > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users Hi John, Thank you for your hint. I tried the script /usr/bin/python irregular.py --verbose-helpful matplotlib data path=20 /usr/lib/python2.4/site-packages/matplotlib/mpl-data $HOME=3D/home/nwagner loaded rc file /home/nwagner/matplotlibrc matplotlib version 0.88 verbose.level helpful interactive is False platform is linux2 numerix numarray 1.5.1 font search path=20 ['/usr/lib/python2.4/site-packages/matplotlib/mpl-data'] CONFIGDIR=3D/home/nwagner/.matplotlib loaded ttfcache file=20 /home/nwagner/.matplotlib/ttffont.cache backend GTKAgg version 2.5.3 import linsolve.umfpack -> failed: No module named=20 _umfpack /usr/lib/python2.4/site-packages/numpy/core/ma.py:601:=20 UserWarning: Cannot automatically convert masked array to=20 numeric because data is masked in one or more locations. warnings.warn("Cannot automatically convert masked=20 array to "\ /usr/lib/python2.4/site-packages/numarray/numarraycore.py:383:=20 UserWarning: __array__ returned non-NumArray instance _warnings.warn("__array__ returned non-NumArray=20 instance") Traceback (most recent call last): File "irregular.py", line 40, in ? plot_data(xi,yi,zi) File "irregular.py", line 14, in plot_data pcolor(xi,yi,zim,shading=3D'interp',cmap=3Dcm.gray) File=20 "/usr/lib/python2.4/site-packages/matplotlib/pylab.py",=20 line 1913, in pcolor ret =3D gca().pcolor(*args, **kwargs) File=20 "/usr/lib/python2.4/site-packages/matplotlib/axes.py",=20 line 2519, in pcolor C =3D=20 compress(ravel(mask=3D=3D0),ravel(ma.filled(C[0:Nx-1,0:Ny-1]))) File=20 "/usr/lib/python2.4/site-packages/numarray/ma/MA.py", line=20 832, in __getitem__ if self._data.rank =3D=3D 0: AttributeError: 'numpy.ndarray' object has no attribute=20 'rank' How can I resolve this problem ? Nils |
|
From: Andrew S. <str...@as...> - 2006-04-10 15:57:57
|
Nils Wagner wrote: > Hi all, > > Given a set of points (x_i,y_i,z_i) > is it possible to plot y_i versus x_i with a varying color > corresponding to the magnitude of z_i ? > > Nils > http://scipy.org/Wiki/Cookbook/Matplotlib/Gridding_irregularly_spaced_data |
|
From: John H. <jdh...@ac...> - 2006-04-10 15:57:44
|
>>>>> "Nils" == Nils Wagner <nw...@ia...> writes:
Nils> Hi all, Given a set of points (x_i,y_i,z_i) is it possible
Nils> to plot y_i versus x_i with a varying color corresponding to
Nils> the magnitude of z_i ? Nils
We can't do this in 3D, but you can do it in 2D with a pseudo color
plot. If your z-y data do not lie on a grid, you need to interpolate
them onto a grid first
http://www.scipy.org/Wiki/Cookbook/Matplotlib/Gridding_irregularly_spaced_data
JDH
|
|
From: Nils W. <nw...@ia...> - 2006-04-10 15:53:50
|
Hi all, Given a set of points (x_i,y_i,z_i) is it possible to plot y_i versus x_i with a varying color corresponding to the magnitude of z_i ? Nils |
|
From: John H. <jdh...@ac...> - 2006-04-10 15:45:22
|
>>>>> "Lionel" == Lionel Roubeyrie <lro...@li...> writes:
Lionel> Hi, ok for the code, here it is, and by advance, sorry for
Lionel> my poor english :-/
Hi Lionel, thanks for this code. I took a quick peek. matplotlib
does not accept code under the GPL license. The license we use is
based on the python software foundation license and is more permissive
than the GPL, in that it allows people to redistribute matplotlib in
closed-source proprietary apps. So if you would like for us to
include your windrose code (or a derivative of it) we will need it
preferably under the matplotlib license, or a BSD/MIT like license.
Here is a post I wrote earlier in another project I was involved in
about why I prefer the use of more permissive BSD-like licenses like
the python license
https://cirl.berkeley.edu/view/Grants/LicensingPitch
Thanks!
JDH
|
|
From: Andrew S. <str...@as...> - 2006-04-10 15:37:23
|
Thanks for the patch, I verified the problem and applied it. You're right that there's an issue with the shadows patchs getting legend labels, which isn't as obvious how to fix. Unfortunately, I don't have time to deal with it right now. Could you file a bug report on sourceforge so it doesn't get lost? Cheers! Andrew Simon Hildebrandt wrote: > This looks tangentially related to a problem I've just noticed - in > axes.py, the pie graph code doesn't assign the label strings it was > given to the 'pie segment' Wedge patches it generates. > With the change shown below, it does: > > for frac, label, expl in zip(x,labels, explode): > ... > ... > w = Wedge((x,y), radius, 360.*theta1, 360.*theta2, > facecolor=colors[i%len(colors)]) > slices.append(w) > self.add_patch(w) > --- self.set_label(label) > +++ w.set_label(label) > > I noticed this problem while trying to generate a legend, same as > Emmanuel - could the scatter plot code have a similar problem? Or am I > looking at something completely different? > > (Incidentally, I've noticed that the shadow patches generated by the > pie code are also included in the legend - this doesn't look like the > right behaviour, but I'm still very new to matplotlib, so I'm not sure.) > > (The code above is from the python2.3-matplotlib v0.86.2-4 debian > package.) > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users |
|
From: Lionel R. <lro...@li...> - 2006-04-10 15:24:16
|
Hi, ok for the code, here it is, and by advance, sorry for my poor english :-/ Le Lundi 10 Avril 2006 16:50, John Hunter a =E9crit=A0: > Please post it here. With your permission, we may adapt it to make a > general purpose windrose or polar areas plotting function for > matplotlib. > > We can probably work around the scipy dependency. > > Thanks! > JDH =2D-=20 Lionel Roubeyrie - lro...@li... LIMAIR http://www.limair.asso.fr |
|
From: John H. <jdh...@ac...> - 2006-04-10 14:54:03
|
>>>>> "Lionel" == Lionel Roubeyrie <lro...@li...> writes:
Lionel> Hi all, thanks for your help and for polar axes, I've got
Lionel> a good result like you can see here :
Lionel> http://www.limair.asso.fr/share/windrose.png If someone is
Lionel> interested by the code, I can send it to him (need scipy
Lionel> for computing frequencies). bye
Lionel> -- Lionel Roubeyrie - lro...@li... LIMAIR
Lionel> http://www.limair.asso.fr
Please post it here. With your permission, we may adapt it to make a
general purpose windrose or polar areas plotting function for
matplotlib.
We can probably work around the scipy dependency.
Thanks!
JDH
|
|
From: Lionel R. <lro...@li...> - 2006-04-10 10:15:20
|
Hi all, thanks for your help and for polar axes, I've got a good result like you can see here : http://www.limair.asso.fr/share/windrose.png If someone is interested by the code, I can send it to him (need scipy for computing frequencies). bye -- Lionel Roubeyrie - lro...@li... LIMAIR http://www.limair.asso.fr |
|
From: nelson - <nel...@gm...> - 2006-04-10 07:28:08
|
hi all, i have to setup a plot with a probit scale on the Y axes. Can i do it wit= h matplotlib? how? thanks, nelson |
|
From: Simon H. <twi...@ob...> - 2006-04-10 04:16:52
|
This looks tangentially related to a problem I've just noticed - in
axes.py, the pie graph code doesn't assign the label strings it was
given to the 'pie segment' Wedge patches it generates.
With the change shown below, it does:
for frac, label, expl in zip(x,labels, explode):
...
...
w = Wedge((x,y), radius, 360.*theta1, 360.*theta2,
facecolor=colors[i%len(colors)])
slices.append(w)
self.add_patch(w)
--- self.set_label(label)
+++ w.set_label(label)
I noticed this problem while trying to generate a legend, same as
Emmanuel - could the scatter plot code have a similar problem? Or am I
looking at something completely different?
(Incidentally, I've noticed that the shadow patches generated by the pie
code are also included in the legend - this doesn't look like the right
behaviour, but I'm still very new to matplotlib, so I'm not sure.)
(The code above is from the python2.3-matplotlib v0.86.2-4 debian package.)
|
|
From: Gary R. <gr...@bi...> - 2006-04-08 00:48:30
|
I was browsing around and came across this alternative to Michael's: <http://mu.arete.cc/pcr/syntax/pointInPolygon/1/pointInPolygon.py> Gary R. Michael Roettger wrote: > Hi Nils, > > I've found an algorithm for checking whether a point is inside a 2D polygon: > > http://www.alienryderflex.com/polygon/ > > Please see the attached script where I've extended your example with the > corresponding python code > to find and draw points inside the domain. > > There is a slow version and faster one using arrays. The slow version > works, but the "faster" one doesn't. > Does anyone see my mistake? > > Michael. |
|
From: Michael R. <ro...@fm...> - 2006-04-07 19:57:18
|
Hi Nils, I've found an algorithm for checking whether a point is inside a 2D polygon: http://www.alienryderflex.com/polygon/ Please see the attached script where I've extended your example with the corresponding python code to find and draw points inside the domain. There is a slow version and faster one using arrays. The slow version works, but the "faster" one doesn't. Does anyone see my mistake? Michael. |
|
From: John H. <jdh...@ac...> - 2006-04-07 14:42:24
|
Darren has pointed out that the matplotlib-users mailing list is
getting a fair amount of traffic regarding problems with subversion
builds. While we are certainly grateful for these bug reports and
happy to help, the matplotlib-devel list is probably a more
appropriate place for these reports and discussions. The users list
now has over 400 subscribers and many of you may not be interested in
arcane discussions of bugs and features under development -- there is
just no accounting for the tastes of some people.
So if you use the svn tree, I encourage you to
1) subscribe to the matplotlib-devel list and keep and eye on the
postings there. This will give you a heads up of things that are
changing. The traffic there is lighter so it is not too hard to
keep an sys on it.
2) post your bugs and problems you are having with the svn builds
there. Problems like "how do I do X" should be posted on the
user's list, but bugs, particularly those on svn builds, should
be posted on the devel list.
Subscribe here:
http://lists.sourceforge.net/mailman/listinfo/matplotlib-devel
Overall, lots of mailing list traffic is probably a good sign: last
month we saw almost 6000 downloads from the sourceforge site (an all
time record and not including the distribution builds), are in the
99.5 percentile of active sourceforge projects, closed 42 sourceforge
bugs, patches and feature requests, and logged almost 600 posts on the
users and devel mailing lists. Woohoo!
Many thanks to the developers who've been burning the midnight oil
recently, particularly Darren Dale, Eric Firing, and Charlie Moad.
Thanks!
JDH
|
|
From: Nils W. <nw...@ia...> - 2006-04-07 14:17:55
|
Darren Dale wrote: > On Friday 07 April 2006 10:05, Charlie Moad wrote: > >>>> I can't reproduce. Does the file >>>> "/usr/lib64/python2.4/site-packages/matplotlib/pylab.py" exist for >>>> you? >>>> >>> Yes >>> >> Something is flaky. Try running python with "python -v". You can >> also try the "--verbose-debug-annoying" flag, but I am guessing you >> aren't getting far enough to get any matplotlib output. >> > > This sounds like a python path issue. Nils, could it be that you have a > matplotlib directory in your current working directory? Try changing dirs and > running your test again. > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > No but I had a file called matplotlib.py in my home directory. I have removed it. Now it works again. Thank you very much and sorry for the noise ! Nils |
|
From: Darren D. <dd...@co...> - 2006-04-07 14:13:52
|
On Friday 07 April 2006 10:05, Charlie Moad wrote: > > > I can't reproduce. Does the file > > > "/usr/lib64/python2.4/site-packages/matplotlib/pylab.py" exist for > > > you? > > > > Yes > > Something is flaky. Try running python with "python -v". You can > also try the "--verbose-debug-annoying" flag, but I am guessing you > aren't getting far enough to get any matplotlib output. This sounds like a python path issue. Nils, could it be that you have a matplotlib directory in your current working directory? Try changing dirs and running your test again. |
|
From: Charlie M. <cw...@gm...> - 2006-04-07 14:06:04
|
> > I can't reproduce. Does the file > > "/usr/lib64/python2.4/site-packages/matplotlib/pylab.py" exist for > > you? > Yes Something is flaky. Try running python with "python -v". You can also try the "--verbose-debug-annoying" flag, but I am guessing you aren't getting far enough to get any matplotlib output. |
|
From: Darren D. <dd...@co...> - 2006-04-07 13:33:38
|
On Friday 07 April 2006 09:10, Nils Wagner wrote: > I am using the latest svn version of matplotlib > > Python 2.4.1 (#1, Sep 12 2005, 23:33:18) > [GCC 4.0.2 20050901 (prerelease) (SUSE Linux)] on linux2 > Type "help", "copyright", "credits" or "license" for more information. > > >>> from pylab import * > > Traceback (most recent call last): > File "<stdin>", line 1, in ? > File "/usr/lib64/python2.4/site-packages/pylab.py", line 1, in ? > from matplotlib.pylab import * > ImportError: No module named pylab > > This seems to be related to some of the recent changes. > > Am I missing something ? I'm using the most recent svn (2273), and I can't reproduce this. |