Creating a scatter plot with three variables.
Afficher commentaires plus anciens
Hello, I am trying to create a scatter plot of some rain gauge data. I have three columns with data in them. My X variable is for Longitude, Y is Latitude and Z would be the rainfall totals. Each variable is a 31x1 double array. How can I get the Z variable to show up as individual points on the graph with color representing higher values?
Réponse acceptée
Plus de réponses (1)
Honglei Chen
le 5 Juin 2018
I would use scatterm, something like
scatterm(X,Y,5,Z)
The reference page can be found at
HTH
2 commentaires
Brandon Bush
le 5 Juin 2018
Honglei Chen
le 6 Juin 2018
I thought you want to plot lat and lon on a map.
Catégories
En savoir plus sur Geographic Plots dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!