SLICE: Hiding the edges of slice

조회 수: 49 (최근 30일)
AP
AP 2012년 10월 18일
Dear All,
I have sliced the volume data using slice function. Now I want to hide the edges of its mesh. How can I achieve this by using Matlab commands? I tried the following but it did not work.
[x,y,z] = meshgrid(-2:.2:2,-2:.25:2,-2:.16:2);
v = x.*exp(-x.^2-y.^2-z.^2);
h = slice(x,y,z,v,1,[],[]);
set(h, 'Edges', 'NoLine')
The error I get is:
The name 'edges' is not an accessible property for an instance of class 'surface'.
Could someone help me?
Thanks,
Ahmad

채택된 답변

Matt Fig
Matt Fig 2012년 10월 18일
I am not sure if this is what you have in mind:
set(h,'edgecolor','none')

추가 답변 (0개)

카테고리

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