#9962: vector plot should have optional "start" argument
-----------------------------------------------+----------------------------
   Reporter:  jason                            |       Owner:  jason, was  
       Type:  enhancement                      |      Status:  needs_review
   Priority:  major                            |   Milestone:  sage-4.7    
  Component:  graphics                         |    Keywords:  beginner    
     Author:  Ryan Grout, Karl-Dieter Crisman  |    Upstream:  N/A         
   Reviewer:  Aly Deines, Karl-Dieter Crisman  |      Merged:              
Work_issues:                                   |  
-----------------------------------------------+----------------------------
Changes (by newvalueoldvalue):

  * status:  needs_work => needs_review
  * author:  Ryan Grout => Ryan Grout, Karl-Dieter Crisman


Old description:

> It would be really nice if this plotted an arrow from (1,2) to (3,4):
>
> {{{
> sage: v=vector([1,2])
> sage: u=vector([2,2])
> sage: plot(u,start=v)
> }}}
>
> or maybe the option should be "base" or "origin"
>
> To fix this, just change the plot method in
> {{{devel/sage/sage/modules/free_module_element.pyx}}}

New description:

 It would be really nice if this plotted an arrow from (1,2) to (3,4):

 {{{
 sage: v=vector([1,2])
 sage: u=vector([2,2])
 sage: plot(u,start=v)
 }}}

 or maybe the option should be "base" or "origin"

 To fix this, just change the plot method in
 {{{devel/sage/sage/modules/free_module_element.pyx}}}

 ----

 Apply attachment:trac_9962_vector_start.2.patch and
 attachment:trac_9962-reviewer.patch

--

Comment:

 Okay, positive review on this nice addition from the original patch.

 The reviewer patch still needs review; it fixes the problem by extending
 the one-dimensional start as well, and adds/spruces up some documentation.
 Reviewer should check things work, doctests, and that documentation looks
 ok.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9962#comment:16>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to