How to create meshgrid for unequal metrix.
22 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Jigar
am 3 Nov. 2022
Kommentiert: William Rose
am 3 Nov. 2022
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1179713/image.png)
0 Kommentare
Akzeptierte Antwort
William Rose
am 3 Nov. 2022
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 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Contour Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!