Ryan Krauss wrote:
> I would like to draw one arrow on a plot as part of a label.
> Does anyone have a better way to do this?
I've enclosed a message sent to matplotlib-devel, including the attached
code. maybe it will help, I haven't had a chance to try it out yet.
-------- Original Message --------
Subject: Fancy arrows for matplotlib
Date: Tue, 31 Jan 2006 16:03:13 -0700
From: Fernando Perez <Fernando.Perez@...>
Organization: Applied Mathematics, University of Colorado at Boulder
To: matplotlib development list
<matplotlib-devel@...>, Chris Barker
<Chris.Barker@...>, Rob Knight <rob@...>
I thought I had sent this code on Sunday, but apparently it didn't make
the list. Apologies if it arrives twice.
This code was contributed by Rob Knight, from the biochemistry dept. at CU
Boulder, to draw nice arrows with a lot of control.
You can see an example here (just paste the example data):
Both a CGI and a command line demo are attached, as well as the underlying
arrow-drawing code. It would be great if this could be integrated into mpl
for the future.
Christopher Barker, Ph.D.
NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Get latest updates about Open Source Projects, Conferences and News.