#8082: correct point and line behavior with complex numbers
---------------------------+------------------------------------------------
   Reporter:  vdelecroix   |       Owner:  vdelecroix           
       Type:  enhancement  |      Status:  needs_review         
   Priority:  major        |   Milestone:  sage-4.3.2           
  Component:  graphics     |    Keywords:  plot, complex numbers
     Author:  vdelecroix   |    Upstream:  N/A                  
   Reviewer:               |      Merged:                       
Work_issues:               |  
---------------------------+------------------------------------------------
Changes (by vdelecroix):

  * status:  needs_work => needs_review


Old description:

> We have a strange behavior
>
> {{{
> sage: point(CC(0))  # plot a point with coordinates (0, 0)
> sage: point(CC(1))  # plot a point with coordinates (1, 0)
> sage: point([CC(0),CC(1)])  # plot a point with coordinates (0, 1)
> }}}
>
> The patch add a line in plot.py to correct this and get the two points
> (0,0) and (1,0) when doing
>
> {{{
> sage: point([CC(0), CC(1)])
> }}}

New description:

 We have a strange behavior

 {{{
 sage: point(CC(0))  # plot a point with coordinates (0, 0)
 sage: point(CC(1))  # plot a point with coordinates (1, 0)
 sage: point([CC(0),CC(1)])  # plot a point with coordinates (0, 1)
 }}}
 The patch add a line in plot.py to correct this and get the two points
 (0,0) and (1,0) when doing

 {{{
 sage: point([CC(0), CC(1)])
 }}}

 see also [http://trac.sagemath.org/sage_trac/attachment/ticket/4838/
 #4838]

--

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8082#comment:3>
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