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
(1) |
|
2
(4) |
3
(3) |
4
(2) |
5
(4) |
6
(15) |
7
(17) |
8
(4) |
|
9
(5) |
10
(14) |
11
(16) |
12
(37) |
13
(38) |
14
(16) |
15
(2) |
|
16
(6) |
17
(4) |
18
(14) |
19
(4) |
20
(1) |
21
(14) |
22
(2) |
|
23
(6) |
24
(16) |
25
(4) |
26
(1) |
27
(10) |
28
(30) |
29
(7) |
|
30
(4) |
31
(15) |
|
|
|
|
|
|
From: Tommy G. <tg...@ma...> - 2006-07-18 19:15:17
|
Is there a keyword or a function to lock the figures so that they can not be resized? Cheers Tommy tg...@ma... http://homepage.mac.com/tgrav/ "Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genious -- and a lot of courage -- to move in the opposite direction" -- Albert Einstein |
|
From: Eric F. <ef...@ha...> - 2006-07-18 17:51:48
|
Lionel,
Assuming you have the current version of mpl, use the "extend" kwarg:
colorbar properties:
extend=3D'neither', 'both', 'min', 'max'
If not 'neither', make pointed end(s) for out-of-ran=
ge
values. These are set for a given colormap using th=
e
colormap set_under and set_over methods.
If the colorbar is attached to a filled contour plot, however, you do=
=20
not need to specify this kwarg in the colorbar call because it will b=
e=20
grabbed from the ContourSet object.
Eric
Lionel Roubeyrie wrote:
> HI,
> how do you set the arrows on the bottom and the top of your colorba=
r? I don't=20
> find any option for that?
> Thanks
>=20
> Le Vendredi 07 Juillet 2006 10:11, dd...@ja... a =C3=A9cr=
it :
>=20
>>On Friday 07 July 2006 4:11 pm, Lionel Roubeyrie wrote:
>>
>>>Hi all,
>>>Is it possible to import colormap file from GMT (.cpt) to basemap?
>>>If yes how can we do that?
>>>Thanks
>>
>>It's possible. Here's how I've been doing it.
>>
>>(1) I use the gmtcolormapPylab function defined in:
>>http://sourceforge.net/mailarchive/message.php?msg_id=3D11255878
>>
>>(2) Using the above function and a GMT cpt file (e.g.
>>GMT_no_green.cpt), I set a color dictionary as:
>>cdict =3D gmtcolormapPylab("GMT_no_green")
>>
>>(3) I define a colormap using:
>>mycmap =3D cm.colors.LinearSegmentedColormap("GMT_no_green",cdict,2=
56)
>>
>>(4) I apply the above using cmap=3Dmycolormap in contourf or pcolor=
mesh.
>>
>>By the way, in case you don't know of the following site, it has an
>>exhaustive selection of color palettes: http://cpt-city.org.uk/
>>
>>I've also attached an example of a basemap image using a cpt from t=
he
>>above site. Masked values not defined by the colormap are shown in
>>gray.
>=20
>=20
|
|
From: Eric F. <ef...@ha...> - 2006-07-18 17:23:50
|
John, You are correct about the way contour handles masked data, and I agree that it is ugly; unfortunately, it is inherent in the routine we are using. You could reduce but not eliminate the problem by interpolating to a finer grid. The routine we are using, which came from the gist package, has the virtues of an acceptable license, production of regular and filled contours, and handling of missing data (but with the problem you note, plus one bug that I have not been able to fix yet.) I think it is also very efficient, although I have not done any benchmarking. If a better routine with the essential virtues could be found, we would probably use it; but I don't know of any. In particular, open source routines that handle filled contours and masking seem to be very rare. Eric John Pye wrote: > Hi all > > I have an application requiring that I do contour plots for masked data. > At the edge of my contour plots, I'm getting fragmented contours due to > missing points on the corner of a cell in my grid. > > Is there any way that the contour drawing code can be set up so that it > plots contours even if a cell in the grid only has data on two sides? > > I suspect that the rule for contour plots is that no contours are shown > if *any* of the point on the four corners are missing. > > There is an example with the jagged edge shown in the attached image. > > Cheers > JP > > > > ------------------------------------------------------------------------ > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > ------------------------------------------------------------------------ > > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users |
|
From: John H. <jdh...@ac...> - 2006-07-18 12:27:45
|
>>>>> "Vinj" == Vinj Vinj <vin...@ya...> writes:
Vinj> Some of the y axis labels end up having different fonts:
Vinj> http://s3.amazonaws.com/oylb/wlsn_qm.png?20060717232235
Vinj> In the above image, 7 and 7.5 have a larger font. I'm using
Vinj> matplotlib 0.87.3 with ubuntu
Bizarre. Are you using usetex? It doesn't look like it from the
fonts. Does it help to flush the ttf cache in
~/.matplotlib/ttffont.cache? Is it possible you are making a call to
set the fontsize somewhere and are just picking up selected elements?
I'll need to see some code to help debug this one.
JDH
|
|
From: John H. <jdh...@ac...> - 2006-07-18 12:14:07
|
>>>>> "Michael" == Michael Fitzgerald <mp...@be...> writes:
Michael> Hi all,
Michael> I'm seeing some unexpected behavior when trying to hide a
Michael> tick label, which I like to do with ganged plots. When I
Michael> attempt this, however, it seems the axis label is no
Michael> longer drawn. For example,
Michael> x = arange(5) ax = subplot(111) ax.plot(x, x) xtl =
Michael> ax.get_xticklabels() xtl[0].set_visible(False)
Michael> ax.set_xlabel('foo')
Michael> will correctly not draw the leftmost x tick label, but it
Michael> won't draw the axis label ('foo') either. Subsequently
Michael> issuing ax.get_xaxis ().get_label().set_visible(True)
Michael> doesn't help. Any thoughts?
I just fixed this in svn -- the xlabel gets it's position by
examining the bounding boxes of all the tick labels, and wasn't
handling the invisible tick bounding box properly. This is fixed in
svn.
Thanks for the report and example.
JDH
|
|
From: Michael F. <mp...@be...> - 2006-07-18 11:25:13
|
Hi all,
I'm seeing some unexpected behavior when trying to hide a tick label,
which I like to do with ganged plots. When I attempt this, however,
it seems the axis label is no longer drawn. For example,
x = arange(5)
ax = subplot(111)
ax.plot(x, x)
xtl = ax.get_xticklabels()
xtl[0].set_visible(False)
ax.set_xlabel('foo')
will correctly not draw the leftmost x tick label, but it won't draw
the axis label ('foo') either. Subsequently issuing ax.get_xaxis
().get_label().set_visible(True) doesn't help. Any thoughts?
Mike
|
|
From: John H. <jdh...@ac...> - 2006-07-18 11:01:21
|
>>>>> "Tommy" == Tommy Grav <tg...@ma...> writes:
Tommy> I have a program that uses matplotlib to plot two images.
Tommy> figim24 = figure(figsize=(5,5)) figim70 =
Tommy> figure(figsize=(5,5))
Tommy> I want an event loop that will be able to register which of
Tommy> the two figures I mouse click in. When I only had one
Tommy> figure I used
Tommy> figim24.canvas.mpl_connect("button_press_event",clicker)
Tommy> but that obviously only register events in figim24. Can
Tommy> anyone guide me in the right direction for doing this?
You can either register two different callbacks (func1 and func2
below) or you can register both figures to the same callback (funcboth
below) and check which figure generated the event by inspecting the
figure.inaxes.figure attribute. The latter approach only works if you
click over an axes,
from pylab import figure, show
fig1 = figure()
fig2 = figure()
ax1 = fig1.add_subplot(111)
ax2 = fig2.add_subplot(111)
def func1(event):
print 'func1'
def func2(event):
print 'func2'
def funcboth(event):
if event.inaxes is None: return
if event.inaxes.figure==fig1:
print 'funcboth: 1'
elif event.inaxes.figure==fig2:
print 'funcboth: 2'
fig1.canvas.mpl_connect('button_press_event', func1)
fig2.canvas.mpl_connect('button_press_event', func2)
fig1.canvas.mpl_connect('button_press_event', funcboth)
fig2.canvas.mpl_connect('button_press_event', funcboth)
show()
|
|
From: Antonio G. <Ant...@ki...> - 2006-07-18 10:06:26
|
> but when i try to plot the same at (0,2), i get an error: > > plot([0], [2],'o-'); show() Well, this works perfectly fine for me (with mpl 0.87.4, rev 2558). Maybe if you upgrade your mpl? Cheers. |
|
From: Lionel R. <lro...@li...> - 2006-07-18 09:25:48
|
HI, how do you set the arrows on the bottom and the top of your colorbar? I don= 't=20 find any option for that? Thanks Le Vendredi 07 Juillet 2006 10:11, dd...@ja... a =C3=A9crit=C2=A0: > On Friday 07 July 2006 4:11 pm, Lionel Roubeyrie wrote: > > Hi all, > > Is it possible to import colormap file from GMT (.cpt) to basemap? > > If yes how can we do that? > > Thanks > > It's possible. Here's how I've been doing it. > > (1) I use the gmtcolormapPylab function defined in: > http://sourceforge.net/mailarchive/message.php?msg_id=3D11255878 > > (2) Using the above function and a GMT cpt file (e.g. > GMT_no_green.cpt), I set a color dictionary as: > cdict =3D gmtcolormapPylab("GMT_no_green") > > (3) I define a colormap using: > mycmap =3D cm.colors.LinearSegmentedColormap("GMT_no_green",cdict,256) > > (4) I apply the above using cmap=3Dmycolormap in contourf or pcolormesh. > > By the way, in case you don't know of the following site, it has an > exhaustive selection of color palettes: http://cpt-city.org.uk/ > > I've also attached an example of a basemap image using a cpt from the > above site. Masked values not defined by the colormap are shown in > gray. =2D-=20 Lionel Roubeyrie - lro...@li... LIMAIR http://www.limair.asso.fr |
|
From: <hol...@gm...> - 2006-07-18 08:46:48
|
Hi Experts,
i just stumbled upon something i can't quite explain (or rather i think i can
explain it, but i cannot understand it):
Consider the following minimal example:
plot([1], [2],'o-'); show()
draws a single point at coords (1,2) - perfectly fine.
but when i try to plot the same at (0,2), i get an error:
plot([0], [2],'o-'); show()
--------------------------------------------------------------------------------
/usr/lib/python2.4/site-packages/matplotlib/pylab.py in plot(*args, **kwargs)
2016 hold(h)
2017 try:
-> 2018 ret = gca().plot(*args, **kwargs)
2019 draw_if_interactive()
2020 except:
/usr/lib/python2.4/site-packages/matplotlib/axes.py in plot(self, *args, **kwargs)
2788 lines.append(line)
2789 lines = [line for line in lines] # consume the generator
-> 2790 self.autoscale_view()
2791 return lines
2792
/usr/lib/python2.4/site-packages/matplotlib/axes.py in autoscale_view(self)
813
814 locator = self.xaxis.get_major_locator()
--> 815 self.set_xlim(locator.autoscale())
816 locator = self.yaxis.get_major_locator()
817 self.set_ylim(locator.autoscale())
/usr/lib/python2.4/site-packages/matplotlib/ticker.py in autoscale(self)
796 dmin, dmax = self.dataInterval.get_bounds()
797 dmin, dmax = self.nonsingular(dmin, dmax, expander = 0.05)
--> 798 return take(self.bin_boundaries(dmin, dmax), [0,-1])
799
800
/usr/lib/python2.4/site-packages/matplotlib/ticker.py in bin_boundaries(self, vmin, vmax)
766 def bin_boundaries(self, vmin, vmax):
767 nbins = self._nbins
--> 768 scale, offset = scale_range(vmin, vmax, nbins)
769 vmin -= offset
770 vmax -= offset
/usr/lib/python2.4/site-packages/matplotlib/ticker.py in scale_range(vmin, vmax, n, threshold)
731 dv = abs(vmax - vmin)
732 meanv = 0.5*(vmax+vmin)
--> 733 var = dv/max(abs(vmin), abs(vmax))
734 if var < 1e-12:
735 return 1.0, 0.0
ZeroDivisionError: float division
--------------------------------------------------------------------------------
I assume this is becaus matplotlib is unable to figure out the width to which it should scale the plot...
Any idea how to fix this?
thanks in advance,
Holger
|
|
From: John P. <joh...@st...> - 2006-07-18 07:28:53
|
Hi all I have an application requiring that I do contour plots for masked data. At the edge of my contour plots, I'm getting fragmented contours due to missing points on the corner of a cell in my grid. Is there any way that the contour drawing code can be set up so that it plots contours even if a cell in the grid only has data on two sides? I suspect that the rule for contour plots is that no contours are shown if *any* of the point on the four corners are missing. There is an example with the jagged edge shown in the attached image. Cheers JP -- John Pye School of Mechanical and Manufacturing Engineering The University of New South Wales Sydney NSW 2052 Australia t +61 2 9385 5127 f +61 2 9663 1222 mailto:john.pye_AT_student_DOT_unsw.edu.au http://pye.dyndns.org/ |
|
From: Vinj V. <vin...@ya...> - 2006-07-18 03:33:38
|
Some of the y axis labels end up having different fonts: http://s3.amazonaws.com/oylb/wlsn_qm.png?20060717232235 In the above image, 7 and 7.5 have a larger font. I'm using matplotlib 0.87.3 with ubuntu Vineet |
|
From: Vinj V. <vin...@ya...> - 2006-07-18 03:31:03
|
>>sy = (ax.bbox.ur().y() - ax.bbox.ll().y()) / (ax.viewLim.ur().y() - >>ax.viewLim.ll().y()) I solved the problem by using .get() on the BinOp's and then converting it back to a BinOP using Value() Vineet |
|
From: Tommy G. <tg...@ma...> - 2006-07-18 00:31:21
|
I have a program that uses matplotlib to plot two images.
figim24 = figure(figsize=(5,5))
figim70 = figure(figsize=(5,5))
I want an event loop that will be able to register which
of the two figures I mouse click in. When I only had one
figure I used
figim24.canvas.mpl_connect("button_press_event",clicker)
but that obviously only register events in figim24. Can anyone
guide me in the right direction for doing this?
Cheers
Tommy
|