- If you choose to use tabular data, it can then be used to create a heatmap using MATLAB's ‘heatmap’ function or other visualization tools that accept tabular data as input. This approach allows you to have flexibility in representing additional information or attributes associated with each grid box, if needed
- Alternatively, you can have a matrix or an array where each element represents the particle count in a specific grid box rather than creating a tabular data structure explicitly.
How to create an integrated particle counter and heat map?
2 views (last 30 days)
Show older comments
I am trying to create a script to sub-divide an image into a grid, count the number of particles within each grid, and then create a heatmap based on the threshold values for the number of particles per grid box. Would it be best to use a particle counting script to make a data table and then create a tabular data heatmap?
0 Comments
Accepted Answer
Pratyush Swain
on 26 Sep 2023
Hi Brett,
Both the methods of creating or not creating a data table can be effective, and the choice depends on the specific needs and preferences. It can be listed as follows:
For more information on 'heatmap' function, you can refer to https://in.mathworks.com/help/matlab/ref/heatmap.html
Hope this helps.
0 Comments
More Answers (0)
See Also
Categories
Find more on Data Distribution Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!