#9740: matrix plot is upside down and should wrap more matplotlib options
---------------------------+------------------------------------------------
   Reporter:  jason        |       Owner:  jason, was  
       Type:  enhancement  |      Status:  needs_review
   Priority:  major        |   Milestone:  sage-4.5.3  
  Component:  graphics     |    Keywords:              
     Author:  Jason Grout  |    Upstream:  N/A         
   Reviewer:               |      Merged:              
Work_issues:               |  
---------------------------+------------------------------------------------

Comment(by kcrisman):

 Replying to [comment:4 jason]:
 > Before:
 >
 >  * axes=True was the default, so typically there were lines on the far
 right and far bottom of the plot going through the first row and first
 column of the matrix

 I don't remember seeing that.

 >  * matrices were plotted upside-down, where the first row was on the
 bottom of the matrix.

 Huh, that is weird, because I definitely didn't have that experience.

 Attached is a screenshot of what I get.  The top row is all the powers of
 1 mod 7 (which are all 1), and the left row is all the 0th powers of a mod
 7 (which are all 1).  The right row is Fermat's Little Theorem, that the
 6th powers are also 1 mod 7.  The matrix itself is
 {{{
 sage: p=7
 sage: matrix(p-1,[mod(a,p)^b for a in range(1,p) for b in srange(p)])
 [1 1 1 1 1 1 1]
 [1 2 4 1 2 4 1]
 [1 3 2 6 4 5 1]
 [1 4 2 1 4 2 1]
 [1 5 4 6 2 3 1]
 [1 6 1 6 1 6 1]
 }}}
 I feel like I must be missing something.

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