How can i have contour lines invisible in contourf?

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
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':
figure(1)
Z = peaks(20);
contourf(Z,10, 'LineStyle','none')

추가 답변 (1개)

Stalin Samuel
Stalin Samuel 2017년 6월 11일
[cs,hc]=contourf(args);
set(hc,'EdgeColor','none')

카테고리

도움말 센터File Exchange에서 Contour Plots에 대해 자세히 알아보기

태그

질문:

2017년 6월 11일

답변:

2017년 6월 11일

Community Treasure Hunt

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

Start Hunting!

Translated by