#2189: [with patch, needs work] 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 kcrisman):
* summary: [with patch, needs review] improve functionality of
matrix_plot => [with patch, needs work] improve
functionality of matrix_plot
Comment:
For the examples given, this is nice - I have figured out what the purpose
in the custom ranges is.
One trivial typo - in the sine bicubic example, the srange should be -pi
to pi, not -pi to -pi.
More weird is the behavior of
{{{
sage: matrix_plot(random_matrix(RDF, 2, 2), xrange=(-100,100),
yrange=(0,1))
sage: matrix_plot(random_matrix(RDF, 2, 2), xrange=(-.01, .01),
yrange=(0,1))
}}}
which both give extremely narrow plots - because of the aspect_ratio
scaling technique, maybe? Anyway, somehow it seems like the idea of a
custom range is for labelling purposes (and that's a nice feature), not
necessarily for scaling purposes. If it's at least partly for labelling
purposes only, a 2x2 matrix probably shouldn't look like this; an aspect
ratio of more or less 1 seems most reasonable in that case.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/2189#comment:6>
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
-~----------~----~----~----~------~----~------~--~---