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
(20) |
3
(8) |
4
(10) |
5
(4) |
6
(8) |
7
(4) |
|
8
(9) |
9
(11) |
10
(12) |
11
(13) |
12
(3) |
13
(17) |
14
(4) |
|
15
|
16
(10) |
17
(9) |
18
(11) |
19
(4) |
20
(17) |
21
(6) |
|
22
(9) |
23
(35) |
24
(17) |
25
(9) |
26
(16) |
27
(17) |
28
(14) |
|
From: Eric F. <ef...@ha...> - 2009-02-11 22:36:10
|
Gideon Simpson wrote: > If I have a line that I want to animate, I can clearly write: > > lineu, = plot(x,u) > draw() > > for p in range(0, N): > lineu.set_ydata(u) > draw() > > Is there an analogue to set_ydata for things plots like contour, > contourf, etc.? > No, as presently implemented, you simply have to remake the contour (that is, the ContourSet object) with the new data. Eric |
|
From: Gideon S. <si...@ma...> - 2009-02-11 21:06:11
|
If I have a line that I want to animate, I can clearly write: lineu, = plot(x,u) draw() for p in range(0, N): lineu.set_ydata(u) draw() Is there an analogue to set_ydata for things plots like contour, contourf, etc.? -gideon |
|
From: Ryan M. <rm...@gm...> - 2009-02-11 20:49:32
|
On Wed, Feb 11, 2009 at 2:34 PM, Thomas Robitaille < tho...@gm...> wrote: > Hi everyone, > > I wish to execute a certain function every time the view interval of > a figure is updated, for example when it is changed interactively > using the zoom rectangle or home button in WXAgg. Matplotlib must > already be calling certain routines, such as the tick locator and > formatters, but is there a way to execute arbitrary functions when > the view interval is updated? You're looking for 'xlim_changed' and 'ylim_changed'. I know this can be found here: http://matplotlib.sourceforge.net/api/axes_api.html Should we add this to http://matplotlib.sourceforge.net/users/event_handling.html ? Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma Sent from: Norman Oklahoma United States. |
|
From: Thomas R. <tho...@gm...> - 2009-02-11 20:34:57
|
Hi everyone, I wish to execute a certain function every time the view interval of a figure is updated, for example when it is changed interactively using the zoom rectangle or home button in WXAgg. Matplotlib must already be calling certain routines, such as the tick locator and formatters, but is there a way to execute arbitrary functions when the view interval is updated? Thanks for any help, Thomas |
|
From: Sandro T. <mo...@de...> - 2009-02-11 19:22:21
|
On Wed, Feb 11, 2009 at 20:13, Ryan May <rm...@gm...> wrote: > On Wed, Feb 11, 2009 at 12:56 PM, Sandro Tosi <mo...@de...> wrote: >> >> Hello, >> I got a script (attached, even if without the datafile has less >> meaning) that parses a log file and plots 3 datasets. With 0.98.5.3 I >> got this error >> RuntimeError: maximum recursion depth exceeded >> >> I see the same behavior in .2 but not in 0.98.5. I remembered I've >> copied this from an example in mpl doc, but that's all. >> >> Is that a regression or something wrong in the code? > > It looks like your script is trying to plot a list of a strings (which > contains numbers). I checked in a fix for this on the trunk but I didn't > bother on the branch since I figured it wasn't really supported behavior. > Try converting the strings to numbers and you should be fine. Indeed: adding int(res.group...) works fine, just nice how it worked on 0.98.5 and not on .2 .3 :) Thanks a lot, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi |
|
From: Andrew S. <str...@as...> - 2009-02-11 19:16:14
|
I just ran across this, which looks really nice. The author shows how to use MPL and basemap to download satellite images from the recent fires in Australia and overlay that with recent thermal hotspot data. http://pyevolve.sourceforge.net/wordpress/?p=86 |
|
From: Ryan M. <rm...@gm...> - 2009-02-11 19:13:57
|
On Wed, Feb 11, 2009 at 12:56 PM, Sandro Tosi <mo...@de...> wrote: > Hello, > I got a script (attached, even if without the datafile has less > meaning) that parses a log file and plots 3 datasets. With 0.98.5.3 I > got this error > RuntimeError: maximum recursion depth exceeded > > I see the same behavior in .2 but not in 0.98.5. I remembered I've > copied this from an example in mpl doc, but that's all. > > Is that a regression or something wrong in the code? It looks like your script is trying to plot a list of a strings (which contains numbers). I checked in a fix for this on the trunk but I didn't bother on the branch since I figured it wasn't really supported behavior. Try converting the strings to numbers and you should be fine. Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma |
|
From: Marjolaine R. <mro...@cs...> - 2009-02-11 19:01:05
|
Hi, Thanks a lot for your comments. I did try earlier on to remove the bad points but came across some problems when re-ordering my array. I will try out the method sent to me and check the reference. Regards, Marjolaine. >>> <kgd...@gm...> 02/11/09 4:06 PM >>> Marjolaine, I am assuming your masked array entries are missing data. Multivariate analysis with missing data can be handled in several standard ways, however these methods don't appear in most Python libraries. Here are some references on the topic that will help you: [1] P.R.C. Nelson and J.F. MacGregor, 1996, "Missing data methods in PCA and PLS: Score calculations with incomplete observations", Chemometrics and Intelligent Laboratory Systems, v35, p 45-65. [2] F. Arteaga and A. Ferrer, 2002, "Dealing with missing data in MSPC: several methods, different interpretations, some examples", Journal of Chemometrics, v16, p408-418. Paper [1] deals with building a model with missing data, while paper [2] looks at applying an existing PCA model to new data that contains missing entries. Hope these help, Kevin Marjolaine Rouault wrote: > > Hi, > > I am struggling to do a PCA analysis on a masked array. Anybody has > suggestions on how to deal with masked array when doing PCAs? > > Best regards, Marjolaine. > Quoted from: http://www.nabble.com/matplotlib.mlab-PCA-analysis-tp21932808p21932808.html -- This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html. This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks Transtec Computers for their support. |
|
From: Sandro T. <mo...@de...> - 2009-02-11 18:56:33
|
Hello,
I got a script (attached, even if without the datafile has less
meaning) that parses a log file and plots 3 datasets. With 0.98.5.3 I
got this error
$ ./ddc_graph.py
Traceback (most recent call last):
File "./ddc_graph.py", line 39, in <module>
rc_plot = ax.plot_date(DATES, RC, '-')
File "/usr/lib/python2.5/site-packages/matplotlib/axes.py", line
3356, in plot_date
ret = self.plot(x, y, fmt, **kwargs)
File "/usr/lib/python2.5/site-packages/matplotlib/axes.py", line 3288, in plot
for line in self._get_lines(*args, **kwargs):
File "/usr/lib/python2.5/site-packages/matplotlib/axes.py", line
401, in _grab_next_args
for seg in self._plot_3_args(remaining, **kwargs):
File "/usr/lib/python2.5/site-packages/matplotlib/axes.py", line
340, in _plot_3_args
x, y, multicol = self._xy_from_xy(x, y)
File "/usr/lib/python2.5/site-packages/matplotlib/axes.py", line
215, in _xy_from_xy
by = self.axes.yaxis.update_units(y)
File "/usr/lib/python2.5/site-packages/matplotlib/axis.py", line
939, in update_units
converter = munits.registry.get_converter(data)
File "/usr/lib/python2.5/site-packages/matplotlib/units.py", line
137, in get_converter
converter = self.get_converter( thisx )
...
File "/usr/lib/python2.5/site-packages/matplotlib/units.py", line
137, in get_converter
converter = self.get_converter( thisx )
File "/usr/lib/python2.5/site-packages/matplotlib/units.py", line
130, in get_converter
if converter is None and iterable(x):
RuntimeError: maximum recursion depth exceeded
I see the same behavior in .2 but not in 0.98.5. I remembered I've
copied this from an example in mpl doc, but that's all.
Is that a regression or something wrong in the code?
Thanks,
--
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi
|
|
From: collern2 <noe...@gm...> - 2009-02-11 17:39:01
|
Hi, I've managed to take the contents of my CSV file and display it with matplotlib. I'm having some issues with the way my X-axis is being displayed. For the X-axis, I pass in a list that filled with datetime objects, an example of one element on the list: datetime.datetime(2007, 12, 17, 20, 28, 15), Issues (please see the attached cpu.png: - for some reason a TZ has been inserted - graphs have white space buffers on either side of the X-axix - points on X-axis are separated by the hour, instead of values in datetime object I have tried many variations of plotdate, etc. If someone could please point me in the right direction. Thanks ================= Code http://www.nabble.com/file/p21958283/cpu.png ================= #!/usr/bin/env python import csv import sys import matplotlib.pyplot as plt import datetime new_list = [] time = [] cpu = [] fileReader = csv.reader(open("sample.csv", "rb")) for row in fileReader: new_list.append(row) # Converts papatimes time format into dattime def time_split(current_line): # splits papastats datetime format in useable python list dt = datetime.datetime.strptime(current_line[0],"%Y/%m/%d %H:%M:%S") time.append(dt) def cpu_calc(current_line): cpu.append(current_line[11].rstrip("%")) #Iterate over list of CSV values for i in new_list[1:]: time_split(i) cpu_calc(i) plt.plot(time, cpu, 'b-') #plt.plot_date(time, cpu, fmt='b-', xdate=False, ydate=False, tz=None) plt.xlabel('Time') plt.ylabel('CPU %') plt.title('Daily CPU Usage') plt.grid(True) plt.grid(alpha=0.2, color='black', linestyle='-', linewidth=0.1) plt.show() -- View this message in context: http://www.nabble.com/Issues-with-time-display-tp21958283p21958283.html Sent from the matplotlib - users mailing list archive at Nabble.com. |
|
From: Gideon S. <si...@ma...> - 2009-02-11 17:01:36
|
command-w does not seem to close the window. -gideon |
|
From: A B <pyt...@gm...> - 2009-02-11 04:17:34
|
Hi,
I have the following code and am wondering whether there is a more
efficient way to plot multiple curves. Maybe somehow accumulating the
data into a single variable, then calling plot once ... Thanks for any
ideas.
for ofile in files:
d = mlab.csv2rec(ofile, names = ['date','field'])
ax.plot(d['date'], d['field'])
|
|
From: A B <pyt...@gm...> - 2009-02-11 04:12:17
|
On Mon, Feb 9, 2009 at 9:59 PM, Jouni K. Seppänen <jk...@ik...> wrote: > Ryan May <rm...@gm...> writes: > > > On Mon, Feb 9, 2009 at 2:37 PM, A B <pyt...@gm...> wrote: > > > > If you're using the full OO interface and creating a figure by making an > > instance of Figure(), then you shouldn't need to close the figure by > hand. > > It should be deleted whenever you delete or replace your instance of > > Figure. (If I understand correctly.) > > Yes, in the OO interface there is no close() because matplotlib does not > retain any references to the figure object. Garbage collection will take > care of reclaiming memory once the user code has no more references to > the object either. > > That said, there have been cases of memory leaks caused by circular > references among objects that have __del__ methods. I think all known > leaks have been fixed, but if I were deploying a long-lived application > that creates lots of figures, I would definitely want to watch its > memory usage in my exact use case. > > -- > Jouni K. Seppänen > http://www.iki.fi/jks > Thank you. The reason I asked the question was that with the OO interface, I still observed growth in memory consumption (more than I saw after I added pyplot.close() calls). However, at some point (90M which I still think is a lot) the growth tapered off and eventually seemed to have stopped. Essentially, what I do is create a figure, then call plot() on it in a loop to generate multiple curves, then print_png() on the canvas object. |