Contourf plot of datasets
조회 수: 2 (최근 30일)
이전 댓글 표시
Does anyone know how can I have a 2D-contour plot of some given data points?
I have the coordinates inside two vectors x and y. The problem is there is no analyctical function relating the height z, to the coordinates.
I have a seperate vector which has the values of z corrospondig to each (x,y) pair.
I would appreciate if you could help me with this.
Thanks in advance!
댓글 수: 0
채택된 답변
Star Strider
2019년 8월 15일
You might find the griddata function useful. It takes random (x,y) values and interpolates gridded z-matrices from them that contour and contourf can use.
댓글 수: 4
추가 답변 (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!