How to create meshgrid for unequal metrix.
22 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponse acceptée
William Rose
le 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 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Contour Plots dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!