Height-parameter contour plot along a distance
조회 수: 2 (최근 30일)
이전 댓글 표시
I have 2000 base distance and 13 elevations,
thus a height matrix A of dimension 2000*13 and corresponding parameter matrix V of dimension 2000*13
I want to plot height : y axis
base distance 2000 points : x axis
parameter V in color.
Thanks in advance.
(X,Y)=meshgrid( 1:13,1:2000);
contourf(X,Y,V)
Gives 2000 pts along x axis, and "13" along y axis. But, I need height as specified in matrix A not the elevations 13.
댓글 수: 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!