Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Contouring irregularly spaced points

조회 수: 1 (최근 30일)
Joseph Koval
Joseph Koval 2018년 9월 25일
마감: MATLAB Answer Bot 2021년 8월 20일
I have data at 132 irregularly spaced lat,lon locations that I want to create a contour map of using contourf
So, I have three vectors.
One vector is a 132 X 1 vector of the latitudes for these 132 locations (the y dimension) One vector is a 132 X 1 vector of the longitudes for these 132 locations (the x dimension) One vector is a 132 X 1 vector of the data value at these 132 locations (the Z dimension)
I've used contourf to make plots (maps) of regularly spaced data before but not irregularly spaced data.
The documentation for contourf states that z dimension should be of size X * Y and this is what's hanging me up. How do I take the vector Z and turn it into (a 132 x 132?) matrix before calling contourf?

답변 (0개)

이 질문은 마감되었습니다.

태그

제품


릴리스

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by