if statement for colour coding data
Show older comments
Hi,
I have latitude, longitude and depth data.
I am wanting to create a 2D plot of Lat Vs Long and plot the depth shown as a corrosponding colour indiacting its depth. I would like it to plot 2colours:
Green if depth <11.9 km
Red if depth < 19.8 km
I have created an if statement so far but it only shows the red stars
Thnak in advance! Pri
Accepted Answer
More Answers (0)
Categories
Find more on Geographic Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!