Meshing cartesian coordiantes within a circle?

2 visualizaciones (últimos 30 días)
Lizan
Lizan el 17 de Oct. de 2013
Editada: Yatin el 17 de Oct. de 2013
I want to do a mesh with x and y .. but I only want to display the data for a circle with radius r. I don't want to use polar coordinates since the mesg becomes less dens at the edges.
Is there a way to do this, to ignore the coordiantes outside this circle?

Respuestas (1)

Yatin
Yatin el 17 de Oct. de 2013
Editada: Yatin el 17 de Oct. de 2013
Hi,
You can try setting the values for the co-ordinates outside the circle to NaN. May be this will help.

Categorías

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

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by