Using z values to display color in mapping toolbox?
Show older comments
Apologies, I'm new to the mapping toolbox.
I have coordinates with associated z values that I would like to use to display color using a colormap such as redblue. However, when I feed the mapping toolbox the information all points are the same color.
h=plotm(Latitude, Longitude, z, '.', 'MarkerSize', 20)
I've checked and points do have z values (see figure). I'm sure it's an easy fix but haven't been able to find the solution anywhere. How do I use z values to display color?

Thanks a million, Kate
Accepted Answer
More Answers (0)
Categories
Find more on Create Plots on Maps in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!