How to make a equilateral triangular piece in a rectangular meshgrid?
7 次查看(过去 30 天)
显示 更早的评论
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').
0 个评论
回答(1 个)
Mike Garrity
2016-1-4
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 .
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Surface and Mesh Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!