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: PGM <pgm...@gm...> - 2006-07-21 20:25:57
|
Joseph, I'm a big fan of masked arrays in numpy. Your problem is typically what masked days are for: you can find an example here: http://www.scipy.org/Cookbook/Matplotlib/Plotting_values_with_masked_arrays |
|
From: Louis P. <pe...@an...> - 2006-07-21 19:48:41
|
Rodrigues, Joseph wrote: > Made a boo boo, the image is not showing so here it is again > > > -----Original Message----- > From: mat...@li... > [mailto:mat...@li...] On Behalf Of > Bill Dandreta > Sent: Friday, July 21, 2006 3:09 PM > To: mat...@li... > Subject: Re: [Matplotlib-users] iregular data set > > Rodrigues, Joseph wrote: > >> I have a question (new user here): I have datasets of irregular time >> spaced data and am having a problem with Matplot lib. >> >> I am plotting two datasets: one is continuous time series data (simple >> line chart) and the other irregular time series data. >> >> The problem I have is: MatPlotLib is interpolating data for the >> irregular data where there is no data. >> >> So if I have data from 1985 - 1989 then no data for 1990 - 1994, >> matplotlib is drawing a line connecting the missing data. >> >> How does one plot irregular spaced time series data? >> >> From what I see matplotlib is just connecting points. Just because your x values have what you think are gaps, matplotlib doesn't know that. I assume your two calls to plot use the x and y values for each plot. Matplotlib will connect points that are sequential no matter what the x values are. There may be ways to assign the y values as NANs for those "missing" x values. -- Cheers, Lou Pecora Code 6362 Naval Research Lab Washington, DC 20375 USA Ph: +202-767-6002 email: pe...@an... |
|
From: Rodrigues, J. <jor...@sf...> - 2006-07-21 19:40:16
|
Made a boo boo, the image is not showing so here it is again -----Original Message----- From: mat...@li... [mailto:mat...@li...] On Behalf Of Bill Dandreta Sent: Friday, July 21, 2006 3:09 PM To: mat...@li... Subject: Re: [Matplotlib-users] iregular data set Rodrigues, Joseph wrote: > > I have a question (new user here): I have datasets of irregular time > spaced data and am having a problem with Matplot lib. > > I am plotting two datasets: one is continuous time series data (simple > line chart) and the other irregular time series data. > > The problem I have is: MatPlotLib is interpolating data for the > irregular data where there is no data. > > So if I have data from 1985 - 1989 then no data for 1990 - 1994, > matplotlib is drawing a line connecting the missing data. > > How does one plot irregular spaced time series data? > The way I do that is index the time data and plot against the index. 1985--0 1986--1 . . . 1989--4 1995--5 etc. Bill ------------------------------------------------------------------------ - 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=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDE V _______________________________________________ Matplotlib-users mailing list Mat...@li... https://lists.sourceforge.net/lists/listinfo/matplotlib-users |
|
From: Rodrigues, J. <jor...@sf...> - 2006-07-21 19:38:29
|
Thanks to all who replied. I am not sure if I get this or if I am not clear on what I want. So I am attaching a simple web page of what I want vs. what I get from matplotlib. Thanks again, Joseph -----Original Message----- From: mat...@li... [mailto:mat...@li...] On Behalf Of Bill Dandreta Sent: Friday, July 21, 2006 3:09 PM To: mat...@li... Subject: Re: [Matplotlib-users] iregular data set Rodrigues, Joseph wrote: > > I have a question (new user here): I have datasets of irregular time > spaced data and am having a problem with Matplot lib. > > I am plotting two datasets: one is continuous time series data (simple > line chart) and the other irregular time series data. > > The problem I have is: MatPlotLib is interpolating data for the > irregular data where there is no data. > > So if I have data from 1985 - 1989 then no data for 1990 - 1994, > matplotlib is drawing a line connecting the missing data. > > How does one plot irregular spaced time series data? > The way I do that is index the time data and plot against the index. 1985--0 1986--1 . . . 1989--4 1995--5 etc. Bill ------------------------------------------------------------------------ - 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=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDE V _______________________________________________ Matplotlib-users mailing list Mat...@li... https://lists.sourceforge.net/lists/listinfo/matplotlib-users |
|
From: Bill D. <wjd...@at...> - 2006-07-21 19:09:01
|
Rodrigues, Joseph wrote: > > I have a question (new user here): I have datasets of irregular time > spaced data and am having a problem with Matplot lib. > > I am plotting two datasets: one is continuous time series data (simple > line chart) and the other irregular time series data. > > The problem I have is: MatPlotLib is interpolating data for the > irregular data where there is no data. > > So if I have data from 1985 – 1989 then no data for 1990 – 1994, > matplotlib is drawing a line connecting the missing data. > > How does one plot irregular spaced time series data? > The way I do that is index the time data and plot against the index. 1985--0 1986--1 . . . 1989--4 1995--5 etc. Bill |
|
From: John H. <jdh...@ac...> - 2006-07-21 19:06:51
|
>>>>> "Rodrigues," == Rodrigues, Joseph <jor...@sf...> writes:
Rodrigues> Yes, I am plotting two lines and am using two plots,
Rodrigues> the two lines plots just fine in different colors,
Rodrigues> however, one line is continuous from 1983 - 1995 and
Rodrigues> the other dataset has irregular data points along the
Rodrigues> same period of time. So I should see a continuous
Rodrigues> line for the first data set and I should see a broken
Rodrigues> line only where there is data for the second.
Rodrigues> Matplotlib is joining the broken points and forces
Rodrigues> both datasets to appear as continuous.
matplotlib doesn't make any assumptions about whether data is
continuous or not. It only knows about points and line styles. If
you want a set of points to be connected, use a linestyle like '-'
(solid line) or '--' (dashed line)
plot(x, y, '-')
if you don't want the points to be connected, use a marker like 'o'
for circles and 's' for squares
plot(x, y, 's')
You will need to extract the subsets of the data that you want
connected yourself.
JDH
|
|
From: Rodrigues, J. <jor...@sf...> - 2006-07-21 19:03:10
|
Yes, I am plotting two lines and am using two plots, the two lines plots just fine in different colors, however, one line is continuous from 1983 - 1995 and the other dataset has irregular data points along the same period of time. So I should see a continuous line for the first data set and I should see a broken line only where there is data for the second. Matplotlib is joining the broken points and forces both datasets to appear as continuous. =20 What do you think is the solution? Thanks Joseph =20 _____ =20 From: Michael Schwager [mailto:hw...@cy...]=20 Sent: Friday, July 21, 2006 2:33 PM To: Rodrigues, Joseph; mat...@li... Subject: RE: [Matplotlib-users] iregular data set =20 Hi, I'm also new to matplotlib, but this sounds like a general type of problem you might in find in matlab too. I think you are trying to plot two separate lines, one for the first set of time and one for the second set of time. If you don't want them connected then you must issue two plot() commands, which means you have to split the data into the sections that you want connected. =20 Michael =20 _____ =20 From: mat...@li... [mailto:mat...@li...] On Behalf Of Rodrigues, Joseph Sent: Friday, July 21, 2006 11:25 AM To: mat...@li... Subject: [Matplotlib-users] iregular data set =20 I have a question (new user here): I have datasets of irregular time spaced data and am having a problem with Matplot lib. =20 I am plotting two datasets: one is continuous time series data (simple line chart) and the other irregular time series data. =20 The problem I have is: MatPlotLib is interpolating data for the irregular data where there is no data. =20 So if I have data from 1985 - 1989 then no data for 1990 - 1994, matplotlib is drawing a line connecting the missing data. =20 How does one plot irregular spaced time series data? Thanks Joseph =20 p.s.: if this is the wrong forum, could you let me know where to post? |
|
From: Michael S. <hw...@cy...> - 2006-07-21 18:33:55
|
Hi, I'm also new to matplotlib, but this sounds like a general type of problem you might in find in matlab too. I think you are trying to plot two separate lines, one for the first set of time and one for the second set of time. If you don't want them connected then you must issue two plot() commands, which means you have to split the data into the sections that you want connected. Michael _____ From: mat...@li... [mailto:mat...@li...] On Behalf Of Rodrigues, Joseph Sent: Friday, July 21, 2006 11:25 AM To: mat...@li... Subject: [Matplotlib-users] iregular data set I have a question (new user here): I have datasets of irregular time spaced data and am having a problem with Matplot lib. I am plotting two datasets: one is continuous time series data (simple line chart) and the other irregular time series data. The problem I have is: MatPlotLib is interpolating data for the irregular data where there is no data. So if I have data from 1985 - 1989 then no data for 1990 - 1994, matplotlib is drawing a line connecting the missing data. How does one plot irregular spaced time series data? Thanks Joseph p.s.: if this is the wrong forum, could you let me know where to post? |
|
From: Rodrigues, J. <jor...@sf...> - 2006-07-21 18:25:33
|
I have a question (new user here): I have datasets of irregular time spaced data and am having a problem with Matplot lib. =20 I am plotting two datasets: one is continuous time series data (simple line chart) and the other irregular time series data. =20 The problem I have is: MatPlotLib is interpolating data for the irregular data where there is no data. =20 So if I have data from 1985 - 1989 then no data for 1990 - 1994, matplotlib is drawing a line connecting the missing data. =20 How does one plot irregular spaced time series data? Thanks Joseph =20 p.s.: if this is the wrong forum, could you let me know where to post? |
|
From: Diwaker G. <diw...@gm...> - 2006-07-21 17:10:10
|
Hi all,
I don't like having to specify the marker on each call to plot(). So I
have something like this in my code:
import pylab as _p
_p.rc('lines', marker = 'o')
This works pretty well in the sense that each call to plot by default
uses the 'o' marker. However, now my graphs have markers on the axes
as well. I'm attaching a sample graph as an example.
So:
a) is this intended behavior? If so, whats the reasoning?
b) how can I turn it off? (btw, I just discovered that with
grid(True), the markers appear on each major tick. With grid(False),
they only appear at the corners. Doesn't solve the problem entirely
though).
Thanks,
Diwaker
--
Web/Blog/Gallery: http://floatingsun.net/blog
|
|
From: Darren D. <dd...@co...> - 2006-07-21 11:18:30
|
Please submit these kinds of bug reports to the sourceforge bug tracker. Minor problems like broken links do not need to be broadcast to over 480 people. Thanks, Darren On Thursday 20 July 2006 11:54 pm, John Pye wrote: > Hi, > > Just wanted to let you know that the link at to the Numeric Python > tutorial at > > http://matplotlib.sourceforge.net/tutorial.html > > is broken. > > Cheers > JP -- Darren S. Dale, Ph.D. dd...@co... |
|
From: Gary R. <gr...@bi...> - 2006-07-21 11:12:31
|
Note: I just verified that this was introduced into 0.87.4. 0.87.3 doesn't exhibit the problem. See attachment. Gary R. gr...@bi... wrote: > The following minimal script reveals a rendering problem with displaying a histogram on a log vertical axis. > I'm using matplotlib0.87.4 in WinXP with python 2.3.5 Enthon. > > from pylab import * > hist(rand(100), 20, bottom=1) > setp(gca(), yscale="log") > show() > > > Gary R. |
|
From: <gr...@bi...> - 2006-07-21 06:28:04
|
The following minimal script reveals a rendering problem with displaying a histogram on a log vertical axis. I'm using matplotlib0.87.4 in WinXP with python 2.3.5 Enthon. from pylab import * hist(rand(100), 20, bottom=1) setp(gca(), yscale="log") show() Gary R. |
|
From: John P. <joh...@st...> - 2006-07-21 03:50:58
|
Hi,
Just wanted to let you know that the link at to the Numeric Python
tutorial at
http://matplotlib.sourceforge.net/tutorial.html
is broken.
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/
|