Borrar filtros
Borrar filtros

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

6 visualizaciones (últimos 30 días)
Mark
Mark el 27 de Dic. de 2015
Respondida: Mike Garrity el 4 de En. de 2016
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').

Respuestas (1)

Mike Garrity
Mike Garrity el 4 de En. de 2016
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 .

Categorías

Más información sobre Surface and Mesh Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by