How to make a equilateral triangular piece in a rectangular meshgrid?

16 ビュー (過去 30 日間)
Mark
Mark 2015 年 12 月 27 日
回答済み: Mike Garrity 2016 年 1 月 4 日
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').

回答 (1 件)

Mike Garrity
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 .

カテゴリ

Help Center および File ExchangeSurface and Mesh Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by