#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):
> matrix_plot(identity_matrix(100))
Looks fine, diagonal is from upper left to lower right, like the matrix. 0
(lowest input) is black, 1 (highest input) is white, I think this is as
usual. With cmap='jet' I get something I like :) What do *you* get for
this one?
> matrix_plot(identity_matrix(100, sparse=True))
Yikes! Two issues. First, it is definitely flipped. Second, what's up
with the colors? I get white for the off-diagonal zeros and blue for the
diagonal. My diagnosis: something going on with all that special code for
sparse matrices.
And now I see what you mean about the axes showing up. I thought that was
just part of the frame because my matrices tend to have blue or black
around the edges, since the values are one! Good catch with making
axes=False in the future.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9740#comment:8>
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.