pythonのグラフ描画ライブラリであるmatplotlibで日付ごとにプロットするサンプル。 from pylab import * from matplotlib.dates import MONDAY, WeekdayLocator import datetime start_date = datetime.date(2007, 5, 1) end_date = datetime.date.today() delta = datetime.timedelta(days=1) mondays = WeekdayLocator(MONDAY) dates = drange(start_date,end_date,delta) s = rand(len(dates)) + 85 t = rand(len(dates)) + 80 fig = figure() ax = fig.add_su