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
(18) |
2
(8) |
3
(2) |
4
(8) |
5
(5) |
6
(3) |
7
(17) |
8
(3) |
9
(3) |
10
(3) |
11
(14) |
12
(1) |
13
|
14
(2) |
15
(9) |
16
(23) |
17
(12) |
18
(13) |
19
(7) |
20
(4) |
21
(2) |
22
(6) |
23
(7) |
24
(6) |
25
(2) |
26
|
27
(4) |
28
(1) |
29
(10) |
30
(7) |
31
(14) |
|
|
please, help me on this! On 2005年3月29日 10:11:20 -0800, Jan Rienyer Gadil <jr...@gm...> wrote: > any help will be very much appreciated... > or could you suggest a better implementation of this graphing part > > > On 2005年3月29日 08:54:06 -0800, Jan Rienyer Gadil <jr...@gm...> wrote: > > could anyone show me how to incorporate this example on my GUI? > > > > what i want to do is to implement this in a wxPanel that is part of my > > wxFrame, but i am getting errors that says wxPanel instance has no > > attribute GetToolBar... > > > > how am i going to get around with this??? > > > > actually, i am doing this because i'm making a graph based on some > > data stored on a list. what i am thinking is to just replace t,s,and c > > part of this example with my group of list : > > > > def plot_data(self): > > # Use ths line if using a toolbar > > a = self.fig.add_subplot(111) > > > > # Or this one if there is no toolbar > > #a = Subplot(self.fig, 111) > > > > t = numpy.arange(0.0,3.0,0.01) > > s = numpy.sin(2*numpy.pi*t) > > c = numpy.cos(2*numpy.pi*t) > > a.plot(t,s) > > a.plot(t,c) > > self.toolbar.update() > > > > please, i need help asap... > > >
Hi, I'm trying to embed matplotlib on WX (which seems to work well for the=20 moment). I'd like to avoid the wx mainloop() by making it run in a=20 different thread than that of my main program. The classical way of doing (using show() ) doesn't work. The first time,=20 the figure becomes the main thread and my program stops running until I=20 close the window. The second time I call it though, my program remains=20 the main thread... Check the following code import threading import matplotlib matplotlib.use('WX') from matplotlib.pylab import * def f(): fig =3D Figure(figsize=3D(8,6)) data =3D range(10) plot(data) show() f() print 'here' f() print 'here' f() The screen prints 'here' only after closing the figure with the mouse.=20 Then second figure appears, but the screen prints 'end' without me=20 having to close the figure like the first one. The third figure though=20 does not appear at all! What am I doing wrong? I know I can use the show command only once, but=20 my program runs sequently and I need to plot data while it runs. I also=20 tried to run this function in a different thread but the results are=20 similar : t =3D threading.Thread(target =3D f) t.start() print 'here' tt =3D threading.Thread(target =3D f) tt.start() print 'end' If the last three lines are neglected (plot only once), then it works=20 perfectly! My main program terminates its execution and the figure stays=20 alive until I close it. When f() is called two times though, both=20 windows close when my program terminates... Does anyone have an idea of how I should do this? Thanks in advance, Kosta PS: I also ttried the example embedding-in-wx-2.py which seems to be=20 exactly my case for embedding my program in a GUI. The best would be=20 running that example in a different thread or something like that in=20 order to avoid the mainloop(). Any ideas? --=20 Kosta Gaitanis Laboratoire de T=E9l=E9communications et T=E9l=E9d=E9tection - TELE Universit=E9 catholique de Louvain UCL - FSA / ELEC B=E2timent Stevin, a.156 Place du Levant, 2 B-1348 Louvain-La-Neuve, Belgium Tel: +32 10/47.80.75 e-mail: gai...@te...=20
any help will be very much appreciated... or could you suggest a better implementation of this graphing part On 2005年3月29日 08:54:06 -0800, Jan Rienyer Gadil <jr...@gm...> wrote: > could anyone show me how to incorporate this example on my GUI? > > what i want to do is to implement this in a wxPanel that is part of my > wxFrame, but i am getting errors that says wxPanel instance has no > attribute GetToolBar... > > how am i going to get around with this??? > > actually, i am doing this because i'm making a graph based on some > data stored on a list. what i am thinking is to just replace t,s,and c > part of this example with my group of list : > > def plot_data(self): > # Use ths line if using a toolbar > a = self.fig.add_subplot(111) > > # Or this one if there is no toolbar > #a = Subplot(self.fig, 111) > > t = numpy.arange(0.0,3.0,0.01) > s = numpy.sin(2*numpy.pi*t) > c = numpy.cos(2*numpy.pi*t) > a.plot(t,s) > a.plot(t,c) > self.toolbar.update() > > please, i need help asap... >
>>>>> "Humufr" == Humufr <hu...@ya...> writes: Humufr> I obtain an error message when I tried to use the quiver Humufr> sample: Traceback (most recent call last): File Humufr> "quiver_demo.py", line 8, in ? quiver( X, Y, U, V, 0.2, Humufr> color=True ) File Humufr> "/usr/local/lib/python2.4/site-packages/matplotlib/pylab.py", Humufr> line 2105, in quiver ret = gca().quiver(*args, **kwargs) Humufr> File Humufr> "/usr/local/lib/python2.4/site-packages/matplotlib/axes.py", Humufr> line 894, in quiver if C: File Humufr> "/usr/local/lib/python2.4/site-packages/numarray/generic.py", Humufr> line 490, in __nonzero__ raise RuntimeError("An array Humufr> doesn't make sense as a truth value. Use any(a) or Humufr> all(a).") RuntimeError: An array doesn't make sense as a Humufr> truth value. Use any(a) or all(a). Thanks for the report. Replace line 894 in axes.py OLD: if C: NEW if C is not None: JDH
I obtain an error message when I tried to use the quiver sample: Traceback (most recent call last): File "quiver_demo.py", line 8, in ? quiver( X, Y, U, V, 0.2, color=True ) File "/usr/local/lib/python2.4/site-packages/matplotlib/pylab.py", line 2105, in quiver ret = gca().quiver(*args, **kwargs) File "/usr/local/lib/python2.4/site-packages/matplotlib/axes.py", line 894, in quiver if C: File "/usr/local/lib/python2.4/site-packages/numarray/generic.py", line 490, in __nonzero__ raise RuntimeError("An array doesn't make sense as a truth value. Use any(a) or all(a).") RuntimeError: An array doesn't make sense as a truth value. Use any(a) or all(a). with: cvs status lib/matplotlib/axes.py =================================================================== File: axes.py Status: Up-to-date Working revision: 1.86 Repository revision: 1.86 /cvsroot/matplotlib/matplotlib/lib/matplotlib/axes.py,v and numarray 1.2.3 N.
Michael Brady wrote: > When using Basemap with a Mercator projection, is there a simple way > to tell the Axes to label the y-axis ticks in latitude degrees instead > of native map coord meters? > > Here's the way I did it. I created my own Formatter: > > > class MercYAxisFormatter( matplotlib.ticker.Formatter ): > """The format function for Mercator projection Y-axis. > Translates plot y in meters to latitude. > """ > > def __init__( self, baseMap ): > self.baseMap = baseMap > > def __call__( self, y, pos=1 ): > """Return the label for tick value y at position pos. > """ > > lon, lat = self.baseMap( 0.0, y, inverse=True ) > return "%.0f" % lat > > > and added it like so: > > baseMap = Basemap( ... ) > ax.yaxis.set_major_formatter( MercYAxisFormatter( baseMap ) ) > > > This works just fine, but is there a simple one-liner in Basemap that > I'm missing that does this? > > Thanks, > > Michael > Michael: No, you're not missing anything - the functionality of basemap is rather basic at this point. Thanks for the tip though! -Jeff -- Jeffrey S. Whitaker Phone : (303)497-6313 Meteorologist FAX : (303)497-6449 NOAA/OAR/CDC R/CDC1 Email : Jef...@no... 325 Broadway Office : Skaggs Research Cntr 1D-124 Boulder, CO, USA 80303-3328 Web : http://tinyurl.com/5telg
I've been trying in vain to get the correct format for the y-axis. I am doing an intraday financial chart and would like to label the ticks every 5 minutes. I am following the example located @ http://matplotlib.sourceforge.net/screenshots/finance_work2.py Data gets loaded from the CSV file just like in the example. I have something along these lines: hours = HourLocator() minutes = MinuteLocator() timeFmt = DateFormatter('%H:%M') ax.xaxis.set_major_locator(hours) ax.xaxis.set_minor_locator(minutes) ax.xaxis.set_minor_formatter(timeFmt) ax.autoscale_view() Am I too far off target here? Because I can't get it to work. I've also looked at the user's manual (5.4 example 2: date ticking). Could someone please point me in the right direction or provide an example of how it _should_ be done? Thank you in advance. __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/
When using Basemap with a Mercator projection, is there a simple way to tell the Axes to label the y-axis ticks in latitude degrees instead of native map coord meters? Here's the way I did it. I created my own Formatter: class MercYAxisFormatter( matplotlib.ticker.Formatter ): """The format function for Mercator projection Y-axis. Translates plot y in meters to latitude. """ def __init__( self, baseMap ): self.baseMap = baseMap def __call__( self, y, pos=1 ): """Return the label for tick value y at position pos. """ lon, lat = self.baseMap( 0.0, y, inverse=True ) return "%.0f" % lat and added it like so: baseMap = Basemap( ... ) ax.yaxis.set_major_formatter( MercYAxisFormatter( baseMap ) ) This works just fine, but is there a simple one-liner in Basemap that I'm missing that does this? Thanks, Michael -- ======================================================================== Michael Brady Jet Propulsion Laboratory (M/S 301-140L) 4800 Oak Grove Drive Pasadena, CA 91109 E-mail: Michael.Brady@... ========================================================================
could anyone show me how to incorporate this example on my GUI? what i want to do is to implement this in a wxPanel that is part of my wxFrame, but i am getting errors that says wxPanel instance has no attribute GetToolBar... how am i going to get around with this??? actually, i am doing this because i'm making a graph based on some data stored on a list. what i am thinking is to just replace t,s,and c part of this example with my group of list : def plot_data(self): # Use ths line if using a toolbar a = self.fig.add_subplot(111) # Or this one if there is no toolbar #a = Subplot(self.fig, 111) t = numpy.arange(0.0,3.0,0.01) s = numpy.sin(2*numpy.pi*t) c = numpy.cos(2*numpy.pi*t) a.plot(t,s) a.plot(t,c) self.toolbar.update() please, i need help asap...
jdh...@ac... a écrit : > We are in favor of unicode support in agg, we just haven't had the > time, knowledge or man-power to do it. fonts are hard, as you > probably know, and we have to figure out the right handling in > freetype and the ft2font wrapper, in the pycxx extension generating > code, and in the font manager. All manageable, but tough. It sounds good and I know this is a hard job even if I have no idea of how things get work in matplotlib! Having unicode without Agg is already great to me. > > Have you seen the accented character demo? > > http://matplotlib.sf.net/examples/accented_text.py Yes I have but was a little bit disappointed since this nested expression fails (matplotlib 0.72): \rm{\acute{e}} > Hopefully, someone (maybe you <wink>) will find the time to tackle > unicode support for ft2font, font_manager, and backend_agg in the > not-too-distant-future. > > JDH Believe me I would really be glad to participate to the matplotlib source code. Unfortunately I don't think I have the required skills (unless you know some introducing pages that could change my opinion?) and my company - a research centre - isn't mature enough to let us participate to open source :-(. It is even hard to make people accept open source software for everyday use... They don't feel secure if do not pay for! JM. Philippe