Density maps based on the number of occurences

4 views (last 30 days)
Hello dear all,
I'm trying to create a density map based on the ships distribution along the time in latitude and longitude coordinates.
I have a matrix with longitude, latitude and time (poisx time).
Based on this I would like to plot a map (like density maps or heat map) depending of the number of the ships in the area. I tried the following code but it was not what I was expecting: hist3([latitude(:), longitude(:)],[50 50],'CDataMode','auto')
Thanks in advance for your help,
  1 Comment
Srishti Sahni
Srishti Sahni on 18 May 2022
Will it be possible for you to share the matrix with longitude, latitude and time.
Also, do you want to factor in the time while plotting the density graph.

Sign in to comment.

Answers (0)

Categories

Find more on Geographic Plots in Help Center and File Exchange

Products


Release

R2017a

Community Treasure Hunt

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

Start Hunting!