From: N. V. <mit...@we...> - 2005-07-27 18:32:12
|
Hello Steve, Steve Schmerler schrieb: > Hi > > I run into problems using axhline() (mpl 0.81) when setting the 'xmin' > and 'xmax' keywords. The horizontal line to be drawn doesn't show up or > just a part of it. What's up (see attached script and .eps files)? > you misunderstood the meaning of the 'xmin' and 'xmax' keyword arguments. If you look at the documtation for axhline, you will see that a value of 0.0 refers to the left side of the figure (well, actually the axes), and 1.0 refers to the very right. So the default setting xmin=0, xmax=1 will draw a horizontal line from the very left to the very right. With this information, your other three examples should be clear. Best regards, Niklas. |