How to do Time Series Heatmap?
Mostrar comentarios más antiguos
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 comentarios
jonas
el 9 de Nov. de 2018
Could you upload some sample data?
Tian Lan
el 9 de Nov. de 2018
KSSV
el 9 de Nov. de 2018
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
el 9 de Nov. de 2018
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
el 9 de Nov. de 2018
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
el 14 de Nov. de 2018
KSSV
el 14 de Nov. de 2018
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
el 14 de Nov. de 2018
Respuestas (0)
Categorías
Más información sobre Data Distribution Plots en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!