How to make a equilateral triangular piece in a rectangular meshgrid?
Afficher commentaires plus anciens
How can I make a triangular meshgrid from rectangular meshgrid? I want to plot some equations that are obtained in a equilateral triangular shape (Like plotting in a rectangular shape using 'meshgrid').
Réponses (1)
Mike Garrity
le 4 Jan 2016
0 votes
Meshgrid is going to create a rectangular mesh, but you can fill the parts you don't want with nan, as I described in this post .
Catégories
En savoir plus sur Surface and Mesh Plots dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!