[HPos,HNeg,HNanInf,HMax] = grfun.plotmat(X,...)
[HPos,HNeg,HNanInf,HMax] = plotmat(X,...)
X
[ numeric ] - 2D matrix that will be visualised; ND matrices will be unfolded in 2nd dimension before plotting.HPos
[ numeric ] - Handles to discs displaying non-negative entries.
HNeg
[ numeric ] - Handles to discs displeying negative entries.
HNanInf
[ numeric ] - Handles to NaN or Inf marks.
HMax
[ numeric ] - Handles to circles displaying maximum value.
'colNames='
[ char | cellstr | empty | 'auto'
] - Names that will be given to the columns of the matrix.
'rowNames='
[ char | cellstr | empty | 'auto'
] - Names that will be give to the row of the matrix.
'maxCircle='
[ true
| false
] - If true
,display a circle denoting the maximum value around each entry.
'nanInf='
[ char | X
] - Appearance of NaN
and Inf
entries.
'showDiag='
[ true
| false
] - If false
, hide the entries on the main diagonal by setting them to NaN
.
'scale='
[ numeric | 'auto'
] - Maximum value (positive) relative to which all matrix entries will be scaled; by default the scale is the maximum entry in the input matrix, max(max(abs(X(isfinite(X))))
.