How to delete the contuor black line?!

조회 수: 2 (최근 30일)
kyoung won Min
kyoung won Min 2021년 8월 23일
댓글: Adam Danz 2021년 8월 23일
When I use fit function, how to delete the contour balck line?!
My code is shown as below.
=========================================================
[xData, yData, zData] = prepareSurfaceData( xxx, yyy, zzz );
ft = 'cubicinterp';
[fitresult, gof] = fit( [xData, yData], zData, ft, 'Normalize', 'on' );
h = plot( fitresult,'Style', 'Contour');
=========================================================
And the result is shown as below.
========================================================
========================================================
But in the figure, I want to delete contour line!
  댓글 수: 3
kyoung won Min
kyoung won Min 2021년 8월 23일
oh I solved it now!
set (h, 'edgecolor', 'none')
To solve my problem, we use the above command : )
Adam Danz
Adam Danz 2021년 8월 23일
Or, h.LineColor = 'none';
or, h.LineStyle = 'none';

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Contour Plots에 대해 자세히 알아보기

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by