Hi,
How does one plot an arrow in a log log plot? In the following example, I can't get the arrow head, regardless of what value I use for the head width:
import matplotlib as mpl
mpl.use('Agg')
import matplotlib.pyplot as plt
fig = plt.figure()
ax = fig.add_subplot(1,1,1)
ax.arrow(0.2,0.2,0.5,0.5,head_width=1.)
ax.set_xscale('log')
ax.set_yscale('log')
ax.set_xlim(0.1,1.)
ax.set_ylim(0.1,1.)
fig.savefig('test.png')
In addition, the documentation for arrow does not even mention any arrow specific options such as the head width/length, and the example plot is missing (there is a 'Exception occurred rendering plot.' message instead)
http://matplotlib.sourceforge.net/api/axes_api.html?highlight=arrow#matplotlib.axes.Axes.arrow
Thanks for any help,
Thomas