How can i have contour lines invisible in contourf?

조회 수: 161(최근 30일)
Lately I purchased a 2017a student licence. Until then I used the institution's licence for 2016a where I could have lines invisible by setting "linewidth" to zero. The 2017a version alerts for error when I use this method. Is there another way to make the lines invisable?
  댓글 수: 1
KSSV 2017년 6월 11일
If you want to make lines invisible...why to plot in first place?

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

채택된 답변

Star Strider
Star Strider 2017년 6월 11일
In R2017a, set 'LineStyle' to 'none':
Z = peaks(20);
contourf(Z,10, 'LineStyle','none')

추가 답변(1개)

Stalin Samuel
Stalin Samuel 2017년 6월 11일


Find more on Contour Plots in Help Center and File Exchange


Community Treasure Hunt

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

Start Hunting!

Translated by