Plot Lat, Long, and Temperature as a Contour Plot
조회 수: 2 (최근 30일)
이전 댓글 표시
I am really at a stand still -- thinking it would be easy.
I have 3 arrays - Latitude, Longitude, and Temperature,
and at each data point or location I want to plot the temperature
as a contour plot.
So at 45 123 the temperature is 73.
Sample of Values:
Latitude = [45 45 67;
34 31 54;
60 63 61]
Longitude = [123 121 117
114 132 119
122 135 134]
Temp = [73 75 75
73 67 72
82 78 80]
Thanks, Amanda
댓글 수: 1
Lindsay Anderson
2018년 1월 31일
I would also like to do this, but with water depth data for each lat long coordinate
채택된 답변
Azzi Abdelmalek
2012년 8월 21일
편집: Azzi Abdelmalek
2012년 8월 21일
plot3(Latitude(:),Longitude(:),Temp(:))
xlabel('latitude'),ylabel('longitude'),zlabel('temperature');grid
OR
mesh(Latitude,Longitude,Temp)
xlabel('latitude'),ylabel('longitude'),zlabel('temperature');grid
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Contour Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!