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 Center および File ExchangeFit Postprocessing についてさらに検索

製品


リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by