drawing just half of a matrix in matplotlib with python -
How can I attract only half of the matrix, e.g. The top / bottom part of a matrix, for example with pcolor?
Suppose i have an n x n matrix and I draw it using pcolor (my_matrix). I want only lower half to be shown because other values are useless. How can it be done?
Thank you.
Is this zero in the other half?
Theater (mat * triangular (shape (mat)))
Comments
Post a Comment