Ask Your Question
0

what matrix.plot meanings?

asked 2014-10-27 08:56:52 +0100

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

when I run bolow,a graph appears,how to understand it?

matrix([[3,-1,1],[2,0,1],[1,-1,2]]).plot()

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
3

answered 2014-10-27 11:11:09 +0100

Francis Clarke gravatar image

The 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.

edit flag offensive delete link more
0

answered 2014-10-28 10:43:34 +0100

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

thank 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()

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2014-10-27 08:56:52 +0100

Seen: 780 times

Last updated: Oct 28 '14

Related questions