Hi Joshua,

As you can see from the attached graph, there is a break the in graph somewhere around 7 AM or so. This is the data I am graphing for that red line:

"2007-10-09 00:00:00",0.015
"2007-10-09 01:00:00",0.015
"2007-10-09 02:00:00",0.014
"2007-10-09 03:00:00",0.012
"2007-10-09 04:00:00",0.008
"2007-10-09 05:00:00",0.002
"2007-10-09 06:00:00",-0.006
<snip>
If I change the -0.006 at 6:00AM to 0.006, it graphs with no break in the line.
Can not comment on Matplotlib, ... but what method are you using the
process your input?
RegEx or other ?, can it handle negative input?

The attached script has missing data points where the data point in None

Don't know if that helps
Steve

from matplotlib import pylab , numerix

X1= [ 0.3, 1.2 , -4.3 , 2.5, 2.5, -1.5, 1.2, .8 , 3.5 ]
X2= [ 0.3, 1.2 , None , 2.5, 2.5, -1.5, None, .8 ,3.5 ]

ax1 = pylab.subplot(2,1,1)
pylab.plot(X1, marker='o')
ax1.set_ylim(-5,3)

ax2 = pylab.subplot(2,1,2)
pylab.plot(X2, marker='o')
ax2.set_ylim(-5,3)


print type(X1[0])
print type(X2[0])
pylab.show()
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to