#11976: matrix plot colorbars
---------------------------+------------------------------------------------
   Reporter:  jason        |          Owner:  jason, was  
       Type:  enhancement  |         Status:  needs_review
   Priority:  major        |      Milestone:  sage-4.8    
  Component:  graphics     |       Keywords:              
Work_issues:               |       Upstream:  N/A         
   Reviewer:               |         Author:              
     Merged:               |   Dependencies:              
---------------------------+------------------------------------------------

Comment(by rbeezer):

 Nice.  Passes tests in the obvious directories.

 Experimentally, the colorbar would appear to have a length equal to the
 longest side of the plot.  So in one orientation it matches the length of
 the side, aesthetically pleasing.  But in the other orientation it can be
 grossly larger than the plot.  Maybe to make sure the gradations do not
 get totally smooshed together in the colormap along the short edge?

 Anyway, several suggestions:

 (a) Document the colorbar defaulting to length of long side.

 (b) Use the right combination of max/min on matrix dimensions to provide
 the right rows:columns ratio to always provide a colorbar the same length
 as the matrix plot.

 (c) Clearly document how to accomplish (b) with an option like
 {{{colorbar_options={'shrink':0.2} }}}.  which seems to be the way to
 accomplish what I'd like to be easily possible.

 (d)  (b) and (c)

 (e)  None of the above.

 I could contribute to the docstring if you want to go that route.  But it
 has to be now, not much time for this for many days to come.

 Rob

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