How to do Time Series Heatmap?
이전 댓글 표시
Hi everyone,
I have body movement time series data (sampling rate 25Hz, 1 hour long) from 9 positions on the human body (head, L/R arm, L/R hand, L/R knee, L/R foot). And I wanted to create a "heat map movie" in Matlab to show how much people move during the 1-hour session.
I was thinking about using imagesc to create the heatmap but wasn't sure about to really apply it, considering that I need to make a movie using immovie. I also wanted to know how exactly I can apply the heatmap to the figure below:

I would really appreciate it if anyone can help with providing ideas.
Thanks much.
댓글 수: 9
jonas
2018년 11월 9일
Could you upload some sample data?
Tian Lan
2018년 11월 9일
KSSV
2018년 11월 9일
Both the data are of same size n*1. How a map can be plotted? I think you need to have location coordinates and the respective heat data wrt to time.
Tian Lan
2018년 11월 9일
So this data is only a single position? I still don't know how to make a heatmap from a single column of data. As KSSV said, you need coordinates. Maybe things would be more clear if you explain what
"...show how much people move during the 1-hour session"
means
Image Analyst
2018년 11월 9일
Are the numbers the x location of the 9 different body parts? If so, have 9 images (one for each body part) and sum the image onto a master canvass at the proper x and y location for that body part.
Tian Lan
2018년 11월 14일
KSSV
2018년 11월 14일
We can help on this..on knowing the code. If code is shown, we can see how it is and make necessary modifications if any to make the code fast. For this, you need to provide the full code with all variables and data given. Explain your next step in detail.
Tian Lan
2018년 11월 14일
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Data Distribution Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!