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

조회 수: 11 (최근 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 CenterFile Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by