From: Alan G I. <ai...@am...> - 2004-10-08 21:39:04
|
On Fri, 08 Oct 2004, John Hunter apparently wrote: > Could you send some example code when axis is used first with a > description of what looks wrong to you on the plot? from scipy import * from matplotlib.matlab import * days=arange(31) dp = 3 plot(days,dp*days,'ro') #produce a zero axis axis([0,30,-40,100]) axhline(linewidth=0.5,color=(0,0,0)) show() Version is 0.63. Ordered as above: axis is not honored. Switch the order of axis() and axhline(), and all is well. Hope that's clear. Cheers, Alan |