Hi again, Will be better with a subject, (sorry for the
> pollution)
> I'm looking for a way to remove and/or control the
> properties (color, thickness,...) of the lines (axis)
> around the graph. I spent already quite some time to
> search a solution. I have found only one comment on these
> lines in the multiline-plot wiki: "It's on our list of
> things to change the way these axes lines are draw so that
> you can remove it, but it isn't done yet"
> Is this done now? Is there even a dirty trick to at least
> remove them?
You can make the edge color of the rectangle patch the same color as
the facecolor
ax.axesPatch.set_facecolor('g')
ax.axesPatch.set_edgecolor('g')
ax.axesPatch.set_linewidth(0)
For more control, you can do something like
from matplotlib.numerix import arange, sin, pi
from pylab import figure, show
fig = figure()
ax = fig.add_subplot(111, xlim=(-1,1), ylim=(-1,1),
xticks=, yticks=,
frameon=False, autoscale_on=False)
ax.axvline(0, color='k', lw=2)
ax.axhline(0, color='k', lw=2)
ax.text(0.0, 0.0, '(0,0)')
ax.text(0.0, 1.0, '(0,1)')
ax.text(1.0, 0.0, '(1,0)')
t = arange(-1,1,0.01)
ax.plot(t,sin(2*pi*t), lw=1, color='b')
show()
JDH