plot map with colorbar for scatter point

I have 3 matrix with size is 454x1, 1 matrix for longtitude, 1 matrix for latitude and 1 for rainfall value (454 is the number of ground station)
But now I want to have colorbar for each point to show the rainfall value.
I tried with scatterm and geoshow but it not work
How can I do?

 Accepted Answer

Let x,y,z be your column array data.
scatter(x,y,10,z,'s','filled')

More Answers (0)

Categories

Tags

Asked:

on 27 May 2019

Edited:

on 27 May 2019

Community Treasure Hunt

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

Start Hunting!