From: Stephen W. <ste...@cs...> - 2005-01-26 17:19:37
|
Nils Wagner wrote: > How can I add vertical/horizontal lines (x=constant, y=constant > respectively) to an existing plot with matplotlib ? I've always done something like: plot(x,y) a=axis() plot(a[0:2],[50,50],'k') for example, to get a line at y=50. If there's something shorter I'm open to suggestions. |