Creating image from cell array of states and years

1 visualización (últimos 30 días)
Leulaye Maskal
Leulaye Maskal el 3 de Nov. de 2021
Respondida: Sulaymon Eshkabilov el 4 de Nov. de 2021
Having trouble creating the attached image

Respuestas (2)

Sulaymon Eshkabilov
Sulaymon Eshkabilov el 4 de Nov. de 2021
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 el 4 de Nov. de 2021
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

Categorías

Más información sobre Logical en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by