Made a boo boo, the image is not showing so here it is again

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Bill Dandreta
Sent: Friday, July 21, 2006 3:09 PM
To: matplotlib-users@lists.sourceforge.net
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=join.php&p=sourceforge&CID=DEVDE
V
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Attachment: image001.gif
Description: image001.gif

Attachment: image002.gif
Description: image002.gif

-------------------------------------------------------------------------
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
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to