-
-
Notifications
You must be signed in to change notification settings - Fork 657
Closed
Milestone
Description
This ticket implements new options xrange
/yrange
for matrix_plot
which allow to specify the rectangle in which to draw a matrix.
For example the following can be used to draw the matrix in [0,1]×[0,1] instead of the default [-0.5,4.5]×[-0.5,4.5].
sage: matrix_plot(identity_matrix(5), xrange=(0, 1), yrange=(0, 1))
Note that there is a very old ticket #2189 attempting to implement the same, among other things, but it is too old to merge.
Depends on #27891
Component: graphics
Author: Markus Wageringel
Branch/Commit: 0dc23eb
Reviewer: Matthias Koeppe
Issue created by migration from https://trac.sagemath.org/ticket/27895