Meshing cartesian coordiantes within a circle?

2 次查看(过去 30 天)
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?

回答(1 个)

Yatin
Yatin 2013-10-17
编辑:Yatin 2013-10-17
Hi,
You can try setting the values for the co-ordinates outside the circle to NaN. May be this will help.

类别

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