Creating image from cell array of states and years
2 次查看(过去 30 天)
显示 更早的评论
Having trouble creating the attached image
0 个评论
回答(2 个)
Sulaymon Eshkabilov
2021-11-4
The error is originated from your data X that does not present appropriate data format for imagesc(). Could you pl., upload your sample data?
Sulaymon Eshkabilov
2021-11-4
Your data array type is not quite clear from your provided snapshot. If your data is as shown in the snapshot and then imagesc() should work ok. Please check your data array type. See this simple example:
G = rand(12, 20); imagesc(G), shg
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!