#6554: [with patch, needs review] plotting sparse matrices converts the matrix 
to
a dense matrix
----------------------------+-----------------------------------------------
 Reporter:  jason           |       Owner:  was        
     Type:  defect          |      Status:  new        
 Priority:  major           |   Milestone:  sage-4.1.1 
Component:  linear algebra  |    Keywords:             
 Reviewer:                  |      Author:  Jason Grout
   Merged:                  |  
----------------------------+-----------------------------------------------

Comment(by wdj):

 This installs fine (amd64 ubuntu 9.04, sage 4.1.1.alpha0) and I'm running
 tests now. However, why is it that

 {{{
 sage: B = random_matrix(ZZ, 10, 20, density=.4, sparse=True, x = 10)
 sage: matrix_plot(B, cmap='hsv').show(axes=False)
 }}}
 returns a ble-and white scatterplot, but

 {{{
 sage: C = random_matrix(ZZ, 10, 20, x = 10)
 sage: matrix_plot(C, cmap='hsv').show(axes=False)
 }}}
 returns a multi-colored plot? The docstring indicates that the colors
 plotted
 indicate the relative difference in sizes between the matrix entries. This
 seems
 to be incorrect, unless I am missing something, in the sparse case. Should
 a
 comment to this effect be added to the docstring?

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