Clear Filters
Clear Filters

How to plot contour lines on MATLAB?

5 views (last 30 days)
Behrooz Daneshian
Behrooz Daneshian on 12 Jul 2023
Answered: Star Strider on 12 Jul 2023
Hello everyone.
I aim to plot contour lines showing rain fall values on the US map. Suppose that I have a double array having 3 coloumns showing latitude, longitude, and the corresponding value for the rainfall, respectively. Can anyone guide me how I can plot contours?
My main question is that whether I am required to convert longitude and latitude to cartesian coordinate system in order to plot contours or I can plot them just with having longitude and latitude of each point ( representative for each weather station)?
Thank you in advance for your help.

Answers (1)

Star Strider
Star Strider on 12 Jul 2023
See if contourm will do what you want. (I do not have the Mapping Toolbox since I do not need it for what I do, so I have no experience with it.)

Categories

Find more on Contour Plots in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!