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
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to