Is it possible to skip data points in a 3D mesh plot?
1 次查看(过去 30 天)
显示 更早的评论
[x,y] = ndgrid(-100:100,-100:100);
z = y.*x;
mesh(x,y,z);
z(find(z)>=6e3) = 0;
I want the mesh plot to skip all values above 6e3. Because on the xy plane points I plan to skip represent curves. I am not able to use 2D plot method to index x or y.
Is it possible?
Thanks,
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Line Plots 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!