How can I make a filled contour plot with data that has x,y coordinates and values corresponding to each point?
6 views (last 30 days)
Show older comments
Before today, I have never touched Matlab, but I've been pretty happy to see that it's similar to the R language with a few syntax differences. Anyway, I have a data file that contains weather radar data in cartesian coordinates with corresponding values to the point that is arraged [x.coord,y.coord,value] and it looks like this-
0.0013 0.0750 -49.3675
0.0026 0.0750 -48.3390
0.0039 0.0749 -51.4245
0.0052 0.0748 -51.9387
0.0065 0.0747 -513.7308
0.0078 0.0746 -52.4530
0.0091 0.0744 -51.9387
0.0104 0.0743 -48.8533
0.0117 0.0741 -49.3675
0.0130 0.0739 -50.9103
I want to create a contour plot of the data with each value at the intersection of the two points (ex (0.0013,0.0750) would have value -49.3675) and then contour and fill the plot. I saw that contourf could potentially be used, but I have been having problems getting it to work. I think I typed coherently, but it's possible that I didn't. If you need clarification, let me know. Any help would be greatly appreciated. Thanks in advance!
0 Comments
Answers (1)
See Also
Categories
Find more on Contour Plots 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!