How to create meshgrid for unequal metrix.

조회 수: 45 (최근 30일)
Jigar
Jigar 2022년 11월 3일
댓글: William Rose 2022년 11월 3일
I am trying to plot pressure contour for roof (40'X125') where 8 main tap lines are given and another 7 sub tap lines starts after 99'; hence, tributary dimensions in 1 direction is reduced after 99'. Therefore, how to create meshgrid in this case. Image is given here for the reference.

채택된 답변

William Rose
William Rose 2022년 11월 3일
The answer below shows how to create a grid that is non-uniform. The figures in the answer show how it worked.
However, the answer above does not reproduce a pattern like the one in your figure. meshgrid() cannot make a mesh like the one in your figure, because your figure has different numbers of rows for different columns.
I do not understand exactly what you are trying to do with the diagram shown. Do you have measurements at the dots shown on the diagram, and you want to make a contour plot using the measured values?
.
  댓글 수: 5
Jigar
Jigar 2022년 11월 3일
Noted and thank you for your response. I will try this.
William Rose
William Rose 2022년 11월 3일
@Jigar, you're welcome. Good luck with your work.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Contour Plots에 대해 자세히 알아보기

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by