#2189: [with patch, needs review] improve functionality of matrix_plot
-------------------------+--------------------------------------------------
Reporter: was | Owner: whuss
Type: enhancement | Status: new
Priority: major | Milestone: sage-3.4.1
Component: graphics | Resolution:
Keywords: |
-------------------------+--------------------------------------------------
Changes (by whuss):
* summary: [with patch, needs work] improve functionality of matrix_plot
=> [with patch, needs review] improve
functionality of matrix_plot
Comment:
Replying to [comment:3 kcrisman]:
> Attempted to apply this to 3.3.alpha0 but in the meantime
_render_on_subplot method of class MatrixPlot (due to #4884) and the
documentation for matrix_plot have both changed, so does not apply
cleanly. Needs a rebase.
I added a new patch based on 3.3.alpha1
> Nitpicks:
> 1. I think this patch might fix the crazy overlap between "49" and "50"
in one of the first examples of matrix_plot,
> {{{
> sage: matrix_plot(random_matrix(RDF, 50), cmap='hsv')
> }}}
> which looks horrible, but that should be checked when this is rebased.
Yes, the patch fixes the overlapping labels.
> 2. In axes.py, it would be great to fix the misspelling of "evaluate".
Done.
> 3. Possible request for improvement: the current behavior on the custom
range seems to be floating point (is that correct?). Would it be possible
to include custom ranges that were integer ranges,
You already can use integer ranges. Maybe I am misunderstanding what you
mean.
> and (maybe) even ranges that actually labeled all integer values (as an
option only, of course!)? This would be very helpful for examples such as
plotting a non-random matrix over GF(p), such as a colored multiplication
table or power table.
There is already a ticket for this: #1431
> This will be very helpful, though, when complete, so thanks for the
work!
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/2189#comment:4>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---