ASKSAGE: Sage Q&A Forum - Individual question feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Tue, 28 Oct 2014 04:43:34 -0500what matrix.plot meanings?https://ask.sagemath.org/question/24639/what-matrixplot-meanings/ when I run bolow,a graph appears,how to understand it?
> matrix([[3,-1,1],[2,0,1],[1,-1,2]]).plot()Mon, 27 Oct 2014 02:56:52 -0500https://ask.sagemath.org/question/24639/what-matrixplot-meanings/Answer by Francis Clarke for <p>when I run bolow,a graph appears,how to understand it?</p>
<blockquote>
<p>matrix([[3,-1,1],[2,0,1],[1,-1,2]]).plot()</p>
</blockquote>
https://ask.sagemath.org/question/24639/what-matrixplot-meanings/?answer=24642#post-id-24642The *lighter* shades correspond to the *larger* entries of the matrix. In your example the black square are in positions (0, 1) and (2, 1), where the entries are -1, and the white square is in position (0, 0), where the entry is 3, which is the largest entry in the matrix.
Typing
sage: M = matrix([[3,-1,1],[2,0,1],[1,-1,2]])
sage: M.plot?
will give more information.
Mon, 27 Oct 2014 05:11:09 -0500https://ask.sagemath.org/question/24639/what-matrixplot-meanings/?answer=24642#post-id-24642Answer by cjsh for <p>when I run bolow,a graph appears,how to understand it?</p>
<blockquote>
<p>matrix([[3,-1,1],[2,0,1],[1,-1,2]]).plot()</p>
</blockquote>
https://ask.sagemath.org/question/24639/what-matrixplot-meanings/?answer=24663#post-id-24663thank you ver much!
I have understand by below
sage: M = matrix([[20,10,2,-1,1,-2,-10],[20,10,2,-1,1,-2,-10],[20,10,2,-1,1,-2,-10],[20,10,2,-1,1,-2,-10]])
sage: M.plot() Tue, 28 Oct 2014 04:43:34 -0500https://ask.sagemath.org/question/24639/what-matrixplot-meanings/?answer=24663#post-id-24663