Opened 9 years ago

Last modified 5 years ago

#10242 new enhancement

improve 2d arrows

Reported by: jason Owned by: jason, was
Priority: major Milestone: sage-6.4
Component: graphics Keywords:
Cc: kcrisman, wcauchois, ppurka Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description

After the changes mentioned in this matplotlib thread get merged into a Sage spkg (maybe matplotlib 1.0.1):

http://thread.gmane.org/gmane.comp.python.matplotlib.general/25400

I think we ought to do a few things to make 2d arrows more precise:

  1. Make the join style "miter" so that we have a sharp arrowhead. To do this, use the path_effects option like in the thread above.
  1. Turn off any default shrinking (set shrinkB=0 by default) so that the arrow tip is exactly on the spot specified.
  1. Set the cap style to "butt" so that the arrow starts right at the coordinate specified, rather than going over it with a different cap style.

Change History (6)

comment:1 Changed 9 years ago by jason

  • Type changed from PLEASE CHANGE to enhancement

comment:2 Changed 7 years ago by ppurka

  • Cc ppurka added

comment:3 Changed 6 years ago by jdemeyer

  • Milestone changed from sage-5.11 to sage-5.12

comment:4 Changed 6 years ago by vbraun_spam

  • Milestone changed from sage-6.1 to sage-6.2

comment:5 Changed 5 years ago by vbraun_spam

  • Milestone changed from sage-6.2 to sage-6.3

comment:6 Changed 5 years ago by vbraun_spam

  • Milestone changed from sage-6.3 to sage-6.4
Note: See TracTickets for help on using tickets.