Hi
For Some reason I am having problems with MatrixPlot .
I am using matrixPlot to plot matrices using 1 and 2’s , in the {8,22) , {32,9}, {87,10}, {176 ,11) dimensions range ..
The Plot works fine but when I get to the {11,76} dimension it corrupts {instead of using 2 colours it is using 3, even though the matrix is still in 1’s and 2’s. I attach a notebook to illistate the difference between the MatrixPlot of dimensions {87,10}, and {176 ,11)
The Output for MatrixPlot’s of {32,9}, {87,10}, {176 ,11)
MatrixPlot works for any dimensions of square matricies but it has problems with non square matrices .In the case of the{ 157,11} matrix the problem starts at { 121,11).
Ref guide page fourth bullet item in Details: “With the default setting MaxPlotPoints->Automatic, sufficiently large or sparse matrices are downsampled so that their structure is visible in the plot generated by MatrixPlot.” What this means in practice is some averaging will happen for sizes past some threshold. You can avert this by specifying MaxPlotPoints->Max[Dimensions[mR197C11].