I have (320,100) matrix. I want to plot its heat map. Rows of the matrix should be along x axis and columns should be along y axis. I am using matshow function for this.Does matshow function gives rows along x-axis or columns? Beside it is labeling x-axis from 0 to 100 and y-axis from 0 to 300. Why it is doing so? why it is not picking the values of the matrix?
[[-0.2706643 -0.25426278 -0.06284858 ..., -0.06432685 0.03350727
-0.09772336]
...,
[-0.2630468 -0.2508091 -0.16554087 ..., -0.3019954 0.11554097
-0.13261844]]
See Question&Answers more detail:os