Extract data from heatmap

조회 수: 13 (최근 30일)
Jason
Jason 2019년 9월 16일
답변: Jason 2019년 9월 16일
I have plotted a heatmap using the built in "heatmap" function from a table that has xdata, ydata and zdata.
My X,Y data is jusy in a column with each on increasing.
The heatmap outputs the zdata to map the location given by xdata and ydata.
Is there away to extract this zdata as it appears (i.e. the positon) in the heatmap.
Thanks
Jason

채택된 답변

Jason
Jason 2019년 9월 16일
Found it, use
h.ColorData
where h is the handle to the heatmap!

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Distribution Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by