#13812: unify visualize_matrix with matrix_plot
---------------------------+------------------------------------------------
Reporter: kcrisman | Owner: jason, was
Type: enhancement | Status: new
Priority: minor | Milestone: sage-5.6
Component: graphics | Keywords:
Work issues: | Report Upstream: N/A
Reviewers: | Authors:
Merged in: | Dependencies:
Stopgaps: |
---------------------------+------------------------------------------------
This function (in `sage.matrix.matrix_modn_sparse` and perhaps elsewhere)
gives pngs that show up in the current working directory, which is not
standard Sage behavior for graphics. In particular, in the notebook and
`EMBEDDED_MODE` they don't show up at all, anywhere (unless you have admin
access, I suppose).
At #13807 (where this was originally not working anyway due to a previous
bugfix), it is pointed out that `visualize_matrix` does one thing that
`matrix_plot` does not: it lets you put a bound on the size of the figure,
and then scales the picture accordingly. So if you have a 20x20 matrix and
plot it in a 10x10 picture, each pixel corresponds to the entries in a 2x2
block.
There we thought it might make sense to merge this functionality into
`matrix_plot` and then deprecate `visualize_matrix`, which after all dates
from 2007. But maybe there is a reason not to do this? Anyway, any more
consistent behavior would be nice here.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13812>
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.