Thanks Eric! Here is corrected code that works:
import matplotlib
from datetime import *
import time
from pylab import *
def toOrd(strDate):
return datetime(*time.strptime(strDate,"%m/%d/%y")[0:5]).toordinal()
def main():
startDate = toOrd("05/24/05")
endDate =
John Harrison wrote:
> bump. please...?
>
> Begin forwarded message:
>>
>> I have some code that produces a series of graphs of data over time.
>> For the most part it works well, but for certain combinations of dates
>> the two plots do not line up, due to the width of the bars in the
>> fir
bump. please...?
Begin forwarded message:
I have some code that produces a series of graphs of data over
time. For the most part it works well, but for certain
combinations of dates the two plots do not line up, due to the
width of the bars in the first subplot. What is the best way fo
>
I have some code that produces a series of graphs of data over time.
For the most part it works well, but for certain combinations of
dates the two plots do not line up, due to the width of the bars in
the first subplot. What is the best way for force my second
subplot's x axis to be i