|
From: Vidar G. <vid...@37...> - 2005-08-22 19:51:57
|
===== Original message from David Cameron | Mon, 22 Aug 2005: > How can I create a plot with x and y axis (inc ticks and > labels) through the origin (0,0)? this is very similar to what i wanted to do in a recent post, see the thread titled "gridlines at 0,0 only", http://sourceforge.net/mailarchive/message.php?msg_id=12231581 the short version of it: props = dict(color="black", linestyle="--", linewidth=1) axvline(x=0, **props) axhline(y=0, **props) thanks for asking, it would be a nice feature to have this as a stand-alone option for plot() or grid() commands. |