From: Ted To <rai...@th...> - 2012-02-08 16:35:06
|
On 02/08/2012 11:28 AM, John Hunter wrote: > > OK, here is where the problem is. In the plt.axis call you are setting > the x-axis min to 0 which is not a legal date value. I suggest letting > the x-axis take care of itself, and set the y-axis limits with > > plt.ylim(-1.5, 1.5) > > JDH Many thanks! I also had to move the axhline commands to follow the other plotting commands. Ted |