There is no edgcol property on the Surface class.

7 views (last 30 days)
Sorry but i don't know fix error , help me please.
I want plot edgcol property is 'interp' and my code.
colorMap=jet;
colormap(colorMap);
x=[0.038
0.0093
0.0093
0
0
2.0005
0.0380
2.0005
0.0093
2.0005]
y=[8.005
4.0030
4.0030
0
0
0
8.0056
0
4.0036
0]
plot (x,y,'LineWidth',5)
z=zeros(size(x));
col=[sigma sigma]
surface([x;x],[y;y],[z;z],[col;col],'facecol','no','edgcol','interp','linew',5);
colorbar
graph is not 'interp'

Accepted Answer

Voss
Voss on 16 May 2022
Use EdgeCol (or the full name EdgeColor) instead of EdgCol, which is missing an e.
surface('EdgeCol','interp')
surface('EdgCol','interp')
Error using surface
Unrecognized property EdgCol for class Surface.
  4 Comments
Voss
Voss on 17 May 2022
You're welcome! If that answers your questions, please click "Accept this answer". I appreciate it!

Sign in to comment.

More Answers (0)

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!