iregular data set

Thank you very much, you are a lifesaver. I took your advice and found
a working example on the internet
ays (saves an image as png when run)

Made some minor modifications and it worked perfectly.

Thank you very much.



-----Original Message-----
From: Richard Albright [mailto:ralbright@…1184…]
Sent: Sunday, July 23, 2006 12:46 PM
To: Rodrigues, Joseph
Subject: Re: [Matplotlib-users] iregular data set

You want to use matplotlib.numerix and use a masked array

On Fri, 2006-07-21 at 14:24 -0400, 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?



p.s.: if this is the wrong forum, could you let me know where to post?


Take Surveys. Earn Cash. Influence the Future of IT
Join's Techsay panel and you'll get the chance to

share your

opinions on IT & business topics through brief surveys -- and earn


_______________________________________________ Matplotlib-users

mailing list
Rick Albright
Senior Quantitvative Analyst
Indie Research, LLC
254 Witherspoon Street
Princeton, NJ 08542