MATLAB: Plot map with colorbar for scatter point

colorbar

I have 3 matrix with size is 454×1, 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?

Best Answer

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