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
(4) |
2
(13) |
3
(4) |
4
(6) |
5
(6) |
6
|
|
7
|
8
(6) |
9
(2) |
10
(2) |
11
(3) |
12
(3) |
13
(2) |
|
14
(2) |
15
(2) |
16
(6) |
17
(8) |
18
(10) |
19
(17) |
20
(8) |
|
21
(4) |
22
(10) |
23
(7) |
24
(7) |
25
(8) |
26
(11) |
27
(5) |
|
28
|
29
(5) |
30
|
31
(4) |
|
|
|
|
From: Gene C. <gc...@br...> - 2006-05-19 22:26:41
|
Greetings, I believe I've hit the bug noted in the 2004-07-28 matplotlib-users post with a subject "plot dense and large array, AGG limit?". I'm wondering if there has been a work around identified. I looked for a follow up in the matplotlib lists as well as the vector-agg-general list. I've tried to use cairo, but I'm having problems getting my mathtext to work, even after setting my numerix to numpy. Any help would be appreciated as I'd like to use matplotlib to make figures for a manuscript I'm writing. Gene Carter |
|
From: JUAN E. F. B. <jua...@ho...> - 2006-05-19 18:07:14
|
hi you all, actually i am trying to install matplotlib toolkits, i typed to install basemap-0.8.2 ------------------------------------------------- python setup.py install running install running build running build_py running build_ext running install_lib ------------------------------------------------- to install basemap-data-0.8: ------------------------------------------------- python setup.py install install usr/share/basemap countries_c.txt install usr/share/basemap countries_h.txt install usr/share/basemap countries_i.txt install usr/share/basemap countries_l.txt install usr/share/basemap gshhs_c.txt install usr/share/basemap gshhs_h.txt install usr/share/basemap gshhs_i.txt install usr/share/basemap gshhs_l.txt install usr/share/basemap rivers_c.txt install usr/share/basemap rivers_h.txt install usr/share/basemap rivers_i.txt install usr/share/basemap rivers_l.txt install usr/share/basemap states_c.txt install usr/share/basemap states_h.txt install usr/share/basemap states_i.txt install usr/share/basemap states_l.txt however everytime i try: #from matplotlib.toolkits.basemap import Basemap i receive the following messagge: ImportError: No module named toolkits.basemap i did entered to /usr/share/basemap and found out there are the txt data files, the same at /usr/lib/python2.4/site-packages/matplotlib/toolkits/basemap what the problem could be?? do ia have to configure aything else, or should i downgrade to basemap-0.8.1 module?? thanks for your answers in advance juan |
|
From: John H. <jdh...@ac...> - 2006-05-19 16:51:41
|
>>>>> "Eric" == Eric Emsellem <ems...@ob...> writes:
Eric> I think there is a bug with the new verts because it
Eric> cannot then use "scales" with len(scales)=1.:
Eric> /usr/lib/python2.4/site-packages/matplotlib/axes.py in
Eric> scatter(self, x, y, s, c, marker, cmap, norm, vmin, vmax,
Eric> alpha, linewidths, faceted, verts, **kwargs) 3072 #scales =
Eric> sqrt(scales * self.figure.dpi.get() / 72.) 3073 if
Eric> len(scales)==1:
-> 3074 verts = [s[0]*verts]
Fixed in svn 2404 -- thanks.
JDH
|
|
From: Eric E. <ems...@ob...> - 2006-05-19 16:47:34
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
I think there is a bug with the new verts because it cannot then use
"scales" with len(scales)=1.:<br>
<br>
/usr/lib/python2.4/site-packages/matplotlib/axes.py in scatter(self, x,
y, s, c, marker, cmap, norm, vmin, vmax, alpha, linewidths, faceted,
verts, **kwargs)<br>
3072 #scales = sqrt(scales * self.figure.dpi.get() / 72.)<br>
3073 if len(scales)==1:<br>
-> 3074 verts = [s[0]*verts]<br>
<br>
Eric<br>
<br>
<br>
John Hunter wrote:
<blockquote cite="mid...@pe..."
type="cite">
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">"Eric" == Eric Emsellem <a class="moz-txt-link-rfc2396E" href="mailto:ems...@ob..."><ems...@ob...></a> writes:
</pre>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<pre wrap=""><!---->
Eric> Hi again, I am trying to see if I could produce a scatter
Eric> plot (using "scatter" or "plot") but using NEW symbols (so
Eric> not already available in the list provided). I would like to
Eric> design new symbols (in some way which is to be defined) so
Eric> that scatter and/or plot would be able to use them.
Eric> Examples: horizontal or vertical or even rotated ellipses,
Eric> icon sketched galaxy-looking symbols, ...
Eric> Any hint on how to do this?
Eric> thanks in advance for any help here!
Eric> Eric P.S.: I already posted a similar question a few days
Eric> ago, so forgive me for this repetition...
persistence wins the day!
I added an option to scatter to support custom markers. You pass in a
list if x,y vertices for the polygon you want to use as the marker.
I haven't quite worked out the scaling yet, so for now use scale
arguments that look right and understand that this may change when we
get the scaling issue cleaned up.
I added an example to svn revision 2402
examples/scatter_custom_symbol.py. Here it is, using an ellipse
from pylab import figure, nx, show
# unit area ellipse
rx, ry = 3., 1.
area = rx * ry * nx.pi
theta = nx.arange(0, 2*nx.pi+0.01, 0.1)
verts = zip(rx/area*nx.cos(theta), ry/area*nx.sin(theta))
x,y,s,c = nx.rand(4, 30)
s*= 10**2.
fig = figure()
ax = fig.add_subplot(111)
ax.scatter(x,y,s,c,marker=None,verts =verts)
show()
One thing we can do to make this more user friendly is to add new
symbols to the scatter symbol table, eg
'wellipse' : a wide ellipse
'tellipse' : a tall ellipse
and map names to sequences of vertices. So as you create the custom
symbols you want to use, send them to me and I'll add them to the
defaults, where appropriate.
Cheers,
JDH
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
====================================================================
Eric Emsellem <a class="moz-txt-link-abbreviated" href="mailto:ems...@ob...">ems...@ob...</a>
Centre de Recherche Astrophysique de Lyon
9 av. Charles-Andre tel: +33 (0)4 78 86 83 84
69561 Saint-Genis Laval Cedex fax: +33 (0)4 78 86 83 86
France <a class="moz-txt-link-freetext" href="http://www-obs.univ-lyon1.fr/eric.emsellem">http://www-obs.univ-lyon1.fr/eric.emsellem</a>
====================================================================
</pre>
</body>
</html>
|
|
From: John H. <jdh...@ac...> - 2006-05-19 16:35:24
|
>>>>> "Nicolas" == Nicolas Gruel <gr...@as...> writes:
Nicolas> Hi, it seems that there are a bug in numerix with
Nicolas> numarray (it's working fine with numpy) and the random
Nicolas> array package.
Nicolas> $ python scatter_custom_symbol.py Traceback (most recent
Nicolas> call last): File "scatter_custom_symbol.py", line 9, in ?
Nicolas> x,y,s,c = nx.rand(4, 30) AttributeError: 'module' object
Nicolas> has no attribute 'rand'
Nicolas> humufr@tigane:~/tmp/Python/SCIPY/matplotlib/matplotlib/examples
Fixed in svn -- thanks.
JDH
|
|
From: Nicolas G. <gr...@as...> - 2006-05-19 16:31:41
|
Hi,
it seems that there are a bug in numerix with numarray (it's working fine w=
ith=20
numpy) and the random array package.
$ python scatter_custom_symbol.py
Traceback (most recent call last):
File "scatter_custom_symbol.py", line 9, in ?
x,y,s,c =3D nx.rand(4, 30)
AttributeError: 'module' object has no attribute 'rand'
humufr@tigane:~/tmp/Python/SCIPY/matplotlib/matplotlib/examples
N.
Le Friday 19 Mai 2006 10:10, John Hunter a =E9crit=A0:
> >>>>> "Eric" =3D=3D Eric Emsellem <ems...@ob...> writes:
>
> Eric> Hi again, I am trying to see if I could produce a scatter
> Eric> plot (using "scatter" or "plot") but using NEW symbols (so
> Eric> not already available in the list provided). I would like to
> Eric> design new symbols (in some way which is to be defined) so
> Eric> that scatter and/or plot would be able to use them.
> Eric> Examples: horizontal or vertical or even rotated ellipses,
> Eric> icon sketched galaxy-looking symbols, ...
>
> Eric> Any hint on how to do this?
>
> Eric> thanks in advance for any help here!
>
> Eric> Eric P.S.: I already posted a similar question a few days
> Eric> ago, so forgive me for this repetition...
>
> persistence wins the day!
>
> I added an option to scatter to support custom markers. You pass in a
> list if x,y vertices for the polygon you want to use as the marker.
>
> I haven't quite worked out the scaling yet, so for now use scale
> arguments that look right and understand that this may change when we
> get the scaling issue cleaned up.
>
> I added an example to svn revision 2402
> examples/scatter_custom_symbol.py. Here it is, using an ellipse
>
> from pylab import figure, nx, show
>
> # unit area ellipse
> rx, ry =3D 3., 1.
> area =3D rx * ry * nx.pi
> theta =3D nx.arange(0, 2*nx.pi+0.01, 0.1)
> verts =3D zip(rx/area*nx.cos(theta), ry/area*nx.sin(theta))
>
> x,y,s,c =3D nx.rand(4, 30)
> s*=3D 10**2.
>
>
> fig =3D figure()
> ax =3D fig.add_subplot(111)
> ax.scatter(x,y,s,c,marker=3DNone,verts =3Dverts)
>
> show()
>
> One thing we can do to make this more user friendly is to add new
> symbols to the scatter symbol table, eg
>
> 'wellipse' : a wide ellipse
> 'tellipse' : a tall ellipse
>
> and map names to sequences of vertices. So as you create the custom
> symbols you want to use, send them to me and I'll add them to the
> defaults, where appropriate.
>
> Cheers,
> JDH
>
>
> -------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=
=3D121642
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
|
|
From: Robert K. <rob...@gm...> - 2006-05-19 16:27:30
|
John Hunter wrote: >>>>>>"Géza" == Géza Groma <gr...@nu...> writes: > > Géza> Is there any other solution better then modifying two > Géza> modules of separate packages? > > Probably not -- numpy should probably remove this -- you might want to > email their list. Building extensions for 2.4 with Mingw is not 100% reliable no matter how it's done. Mingw has been written to use MSVCRT.dll as its C runtime. Python 2.4 uses MSVCR71.dll as its C runtime. If you leave out the 'msvcr71' library and use an out-of-box Mingw installation, then you will get two different C runtimes. If a FILE pointer passes between them (or any other structure provided by the C runtime), you will crash the interpreter. However, the headers for Mingw have been written against MSVCRT.dll and reference things not present in MSVCR71.dll (in this case _ctype, a jump table used by isalpha() and friends IIRC). There is currently no general solution that will work for all extensions. The only general solution is to modify Mingw to use MSVCR71.dll as its runtime. But no one seems to be working on that. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco |
|
From: John H. <jdh...@ac...> - 2006-05-19 15:43:41
|
>>>>> "Eric" == Eric Emsellem <ems...@ob...> writes:
Eric> great! a quick one then: how would you then do to have a
Eric> marker symbols where some part of the polygon is not
Eric> attached to the rest (a vertical line plus an ellipse for
Eric> example). I could do that using two different markers and
Eric> plotting them one after the other, but is there a simpler
Eric> way? thanks Eric
Just use the brute force approach for now, and when I get some time
I'll look into generalizing this for general paths.
JDH
|
|
From: Eric E. <ems...@ob...> - 2006-05-19 15:20:11
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
great!<br>
<br>
a quick one then: how would you then do to have a marker symbols where
some part of the polygon is not attached to the rest (a vertical line
plus an ellipse for example). I could do that using two different
markers and plotting them one after the other, but is there a simpler
way?<br>
<br>
thanks<br>
Eric<br>
<br>
John Hunter wrote:
<blockquote cite="mid...@pe..."
type="cite">
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">"Eric" == Eric Emsellem <a class="moz-txt-link-rfc2396E" href="mailto:ems...@ob..."><ems...@ob...></a> writes:
</pre>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<pre wrap=""><!---->
Eric> Hi again, I am trying to see if I could produce a scatter
Eric> plot (using "scatter" or "plot") but using NEW symbols (so
Eric> not already available in the list provided). I would like to
Eric> design new symbols (in some way which is to be defined) so
Eric> that scatter and/or plot would be able to use them.
Eric> Examples: horizontal or vertical or even rotated ellipses,
Eric> icon sketched galaxy-looking symbols, ...
Eric> Any hint on how to do this?
Eric> thanks in advance for any help here!
Eric> Eric P.S.: I already posted a similar question a few days
Eric> ago, so forgive me for this repetition...
persistence wins the day!
I added an option to scatter to support custom markers. You pass in a
list if x,y vertices for the polygon you want to use as the marker.
I haven't quite worked out the scaling yet, so for now use scale
arguments that look right and understand that this may change when we
get the scaling issue cleaned up.
I added an example to svn revision 2402
examples/scatter_custom_symbol.py. Here it is, using an ellipse
from pylab import figure, nx, show
# unit area ellipse
rx, ry = 3., 1.
area = rx * ry * nx.pi
theta = nx.arange(0, 2*nx.pi+0.01, 0.1)
verts = zip(rx/area*nx.cos(theta), ry/area*nx.sin(theta))
x,y,s,c = nx.rand(4, 30)
s*= 10**2.
fig = figure()
ax = fig.add_subplot(111)
ax.scatter(x,y,s,c,marker=None,verts =verts)
show()
One thing we can do to make this more user friendly is to add new
symbols to the scatter symbol table, eg
'wellipse' : a wide ellipse
'tellipse' : a tall ellipse
and map names to sequences of vertices. So as you create the custom
symbols you want to use, send them to me and I'll add them to the
defaults, where appropriate.
Cheers,
JDH
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
====================================================================
Eric Emsellem <a class="moz-txt-link-abbreviated" href="mailto:ems...@ob...">ems...@ob...</a>
Centre de Recherche Astrophysique de Lyon
9 av. Charles-Andre tel: +33 (0)4 78 86 83 84
69561 Saint-Genis Laval Cedex fax: +33 (0)4 78 86 83 86
France <a class="moz-txt-link-freetext" href="http://www-obs.univ-lyon1.fr/eric.emsellem">http://www-obs.univ-lyon1.fr/eric.emsellem</a>
====================================================================
</pre>
</body>
</html>
|
|
From: John H. <jdh...@ac...> - 2006-05-19 14:16:02
|
>>>>> "Eric" == Eric Emsellem <ems...@ob...> writes:
Eric> Hi again, I am trying to see if I could produce a scatter
Eric> plot (using "scatter" or "plot") but using NEW symbols (so
Eric> not already available in the list provided). I would like to
Eric> design new symbols (in some way which is to be defined) so
Eric> that scatter and/or plot would be able to use them.
Eric> Examples: horizontal or vertical or even rotated ellipses,
Eric> icon sketched galaxy-looking symbols, ...
Eric> Any hint on how to do this?
Eric> thanks in advance for any help here!
Eric> Eric P.S.: I already posted a similar question a few days
Eric> ago, so forgive me for this repetition...
persistence wins the day!
I added an option to scatter to support custom markers. You pass in a
list if x,y vertices for the polygon you want to use as the marker.
I haven't quite worked out the scaling yet, so for now use scale
arguments that look right and understand that this may change when we
get the scaling issue cleaned up.
I added an example to svn revision 2402
examples/scatter_custom_symbol.py. Here it is, using an ellipse
from pylab import figure, nx, show
# unit area ellipse
rx, ry = 3., 1.
area = rx * ry * nx.pi
theta = nx.arange(0, 2*nx.pi+0.01, 0.1)
verts = zip(rx/area*nx.cos(theta), ry/area*nx.sin(theta))
x,y,s,c = nx.rand(4, 30)
s*= 10**2.
fig = figure()
ax = fig.add_subplot(111)
ax.scatter(x,y,s,c,marker=None,verts =verts)
show()
One thing we can do to make this more user friendly is to add new
symbols to the scatter symbol table, eg
'wellipse' : a wide ellipse
'tellipse' : a tall ellipse
and map names to sequences of vertices. So as you create the custom
symbols you want to use, send them to me and I'll add them to the
defaults, where appropriate.
Cheers,
JDH
|
|
From: John H. <jdh...@ac...> - 2006-05-19 13:57:37
|
>>>>> "G=E9za" =3D=3D G=E9za Groma <gr...@nu...> write=
s:
G=E9za> Is there any other solution better then modifying two
G=E9za> modules of separate packages?
Probably not -- numpy should probably remove this -- you might want to
email their list.
JDH
|
|
From: <gr...@nu...> - 2006-05-19 12:38:04
|
I tried to install matplotlib from svn (2398) on a system of WindowsXP, python-2.4.2, numpy-0.9.6r1, MinGW-5.0.2. Even applying the hack described in http://mail.python.org/pipermail/python-list/2004-December/254826.html, running from pylab import * caused the error message the procedure entry point _ctype could not be located in the dynamic link libary msvcr71.dll I realized that matplotib relies on the distutils package of numpy which in turn has its own mingw32ccompiler.py module and found that the problem can be cured by commenting out the following lines in Mingw32CCompiler.link if sys.version[:3] > '2.3': if libraries: libraries.append('msvcr71') else: libraries =3D ['msvcr71'] Is there any other solution better then modifying two modules of separate packages? Regargs, G=E9za Groma Institute of Biophysics Biological Research Center of the Hungarian Academy of Sciences Temesv=E1ri krt. 62. 6701 Szeged, Hungary phone: +36 62 599 620 fax: +36 62 433 133 cellular: +36 20 5648 303 |
|
From: Eric E. <ems...@ob...> - 2006-05-19 10:12:22
|
Hi again,
I am trying to see if I could produce a scatter plot (using "scatter" or
"plot") but using NEW symbols (so not already available in the list
provided). I would like to design new symbols (in some way which is to
be defined) so that scatter and/or plot would be able to use them.
Examples: horizontal or vertical or even rotated ellipses, icon sketched
galaxy-looking symbols, ...
Any hint on how to do this?
thanks in advance for any help here!
Eric
P.S.: I already posted a similar question a few days ago, so forgive me
for this repetition...
--
====================================================================
Eric Emsellem ems...@ob...
Centre de Recherche Astrophysique de Lyon
9 av. Charles-Andre tel: +33 (0)4 78 86 83 84
69561 Saint-Genis Laval Cedex fax: +33 (0)4 78 86 83 86
France http://www-obs.univ-lyon1.fr/eric.emsellem
====================================================================
|
|
From: Eric F. <ef...@ha...> - 2006-05-19 07:37:41
|
I have added examples/multi_image.py to svn in response to Marcel Oliver's question. In the process, I found and fixed a bug in the new colorbar (also only in svn); now the ticks are labelled with the order of magnitude when the colors are mapped to very small or very large numbers, in the same way as they are for any other axes object. Eric |
|
From: Graeme O'K. <gj...@ne...> - 2006-05-19 07:04:31
|
Hi,
I think I have a Mac OS X specific problem using 'ipython -pylab'
I have some pylab plotting that updates for every event on ubuntu
with the wxpython backend.
However, the same code on OS X does not update until the final
pylab.show().
However, when I enter a series of plot commands from the ipython
prompt, they update fine.
I'm presuming it's some kind of threading problem, so my question is;
is there a way to explicitly give app.mainloop() or whatever some
oxygen?
Here's the example code which updates each plot separately as
expected/desired under ubuntu +python2.4 + wxPython2.6 + ipython
0.6.x, matplotlib-0.86.2
Under Mac OS 10.4 + python 2.4.1 + wxpython2.6 + ipython 0.7.1.fix1
(didn't work for ipython 0.6.x either) + matplotlib-0.86.2cvs-py2.4-
macosx-10.4-ppc.egg, the update does not occur until the pylab.show()
statement is reached (and yes, I tried replacing the draw with show,
no difference).
It was a lot faster when I removed the pylab.draw() statement, so the
rendering would seem to be taking place, it just doesn't make it to
the physical screen.
Have any other Mac OS X users experienced this? Any suggestions?
regards,
Graeme
% ipython -pylab
In [1]:import interactive as i
In [2]:i.main()
isinteractive() = True
here is interactive.py
#!/usr/bin/env python
#
# ipython -pylab
# In [1]: import interactive as i
# In [2]: i.main()
#
import pylab, numpy
class data :
def __init__(self, N) :
self.n = 0
self.N = N
self.t = numpy.arange(0.0, 2*numpy.pi, numpy.pi / 64)
#end
def read(self) :
self.n += 1
self.y = numpy.sin(self.t) + numpy.randn(len(self.t))/10.0
if self.n >= self.N : return False
else : return True
#end
#end
def main(N = 100) :
print 'isinteractive() = ', pylab.interactive()
d = data(N)
f = pylab.figure()
a = f.add_subplot(1,1,1)
cols = 'rgbcmyk'
n = 0
while d.read() :
# a.hold(False)
a.plot(d.t, d.y, cols[n % len(cols)])
a.grid(True)
pylab.draw()
n += 1
#end
pylab.show()
#end
if __name__ == '__main__' :
main(10)
#end
|
|
From: John H. <jdh...@ac...> - 2006-05-19 02:52:10
|
>>>>> "Joseph" == <jo...@3t...> writes:
Joseph> Hi,
Joseph> I'm plotting y values which exceed 10000. I would like the
Joseph> y axis labels to be formatted as whole numbers such as
Joseph> 10000, not in scientific notation such as 1.0e4, with the
Joseph> exponent appearing up at the top left corner. This occurs
Joseph> if I plot something like:
Joseph> from pylab import * y = (1000,9000,14000) plot(y) show()
Joseph> I've looked around the docs and source a bit, but haven't
Joseph> found the love yet. I'm running version 0.86.2. \
See the chapter in the user's guide on tick labeling and formatting.
The code below is freestyle and untested, so may contain minor bugs,
but here is the idea
from matplotlib.ticker import ScalarFormatter
ax = subplot(111)
ax.plot(something)
ax.yaxis.set_major_formatter(ScalarFormatter())
Darren: some pylab functionality with a dead-simple interface would be
nice here, something that let us say something like
yticks(formatter='scalar')
and so on to select the formatter or the locator....
JDH
|
|
From: <jo...@3t...> - 2006-05-19 01:01:55
|
Hi, I'm plotting y values which exceed 10000. I would like the y axis labels to be formatted as whole numbers such as 10000, not in scientific notation such as 1.0e4, with the exponent appearing up at the top left corner. This occurs if I plot something like: from pylab import * y = (1000,9000,14000) plot(y) show() I've looked around the docs and source a bit, but haven't found the love yet. I'm running version 0.86.2. Any help would be appreciated. Thanks! Joseph Sheedy Technical Specialist, 3TIER Environmental Forecast Group jo...@3t... | (206)325-1573 x116 |