Thank you very much, you are a lifesaver. I took your advice and found
a working example on the internet
http://www.scipy.org/Cookbook/Matplotlib/Plotting_values_with_masked_arr
ays (saves an image as png when run)
Made some minor modifications and it worked perfectly.
Thank you very much.
Joseph
···
-----Original Message-----
From: Richard Albright [mailto:ralbright@…1184…]
Sent: Sunday, July 23, 2006 12:46 PM
To: Rodrigues, Joseph
Cc: matplotlib-users@lists.sourceforge.net
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?
Thanks
Joseph
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 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
--
Rick Albright
Senior Quantitvative Analyst
Indie Research, LLC
254 Witherspoon Street
Princeton, NJ 08542
(609)497-1030
ralbright@...1184...