필터 지우기
필터 지우기

Creating image from cell array of states and years

조회 수: 1 (최근 30일)
Leulaye Maskal
Leulaye Maskal 2021년 11월 3일
답변: Sulaymon Eshkabilov 2021년 11월 4일
Having trouble creating the attached image

답변 (2개)

Sulaymon Eshkabilov
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
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

카테고리

Help CenterFile Exchange에서 Images에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by