From: David Cameron <dcam@ce...> - 2005-08-22 18:48:01
Thanks very much for matplotlib its fast becoming the main tool I use for =
I'm fairly new to matplotlib so apologies if this seems like an obvious =
question. I'm plotting a fairly standard scatter plot using plot.=20
and my data is normalised so ([-1,1],[-1,1]).=20
How can I create a plot with x and y axis (inc ticks and labels) through =
the origin (0,0)?
Many thanks for any help
Dr David Cameron
Centre for Ecology and Hydrology - Edinburgh
EH26 0QB, UK
Tel: +44/0 131 445-8577 Fax: -3943
===== 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",
the short version of it:
props = dict(color="black", linestyle="--", linewidth=1)
thanks for asking, it would be a nice feature to have this
as a stand-alone option for plot() or grid() commands.
Get latest updates about Open Source Projects, Conferences and News.