在Matlab中使用函数imagesc,我绘制了我的(X,Y,Z)数据-X数组距离,Y数组时间和我的数据Z = Z(X,Y)矩阵。Matlab对数范围colorbar图像c
我注意到,图像的80%,有一种颜色,因为只有在X年底发生的几乎所有Y.ž数据的变化
现在我用颜色表(“HSV”),它给我认为不同颜色的最大范围。
我需要的彩条范围内通过的时间沿距离X更改为一个对数,以提高我的输出数据的变化的视觉范围
我也用contourf但仍然我不知道,如果它会更好地使用此功能,而不是输出更平滑的imagesc。
请使用任何想法,任何方法或任何小脚本来显示2D对数比例尺数据中使用imagesc或其他函数构建函数的差异,这是非常值得欢迎的! 谢谢
只想'于imagesc(X,Y,日志(Z))'工作? – chessofnerd
不,我试过了,出现错误:“图像CData的数据类型无效。图像CData需要数字或逻辑矩阵。” – user1640255
我不想改变这些数据,但我想改变表示数据的颜色,使用对数刻度的彩条,使用imagesc – user1640255