Re: [Matplotlib-users] plot_date with multiple subplots

2011-11-30 Thread Yoshi Rokuko
i use something like that: from datetime import datetime, timedelta import matplotlib.pyplot as pl import matplotlib.ticker as ticker import matplotlib.dates as mdates dates1 = [datetime(2005,5,11)+n*timedelta(days=1) for n in range(500)] dates2 = [datetime(... ax1 = pl.subplot(2,1,1) ax1.plot(d

[Matplotlib-users] plot_date with multiple subplots

2011-11-30 Thread Ed Maurer
I have a short script to plot 20 years of river flow data. I can use the plot_date command to create a plot, using this snippet: f = figure() ax1 = f.add_subplot(111) ax1.plot_date(dates0,y1,'g', label='observed', xdate=True,visible=True) ax1.plot_date(dates1,y2,'r', label='simulated', xdate=True,v

[Matplotlib-users] plot_date with multiple subplots

2011-11-29 Thread Ed Maurer
I have a short script to plot 20 years of river flow data. I can use the plot_date command to create a plot, using this snippet: f = figure() ax1 = f.add_subplot(111) ax1.plot_date(dates0,y1,'g', label='observed', xdate=True,visible=True) ax1.plot_date(dates1,y2,'r', label='simulated', xdate=True,v