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
채택된 답변
Star Strider
2017년 6월 11일
In R2017a, set 'LineStyle' to 'none':
figure(1)
Z = peaks(20);
contourf(Z,10, 'LineStyle','none')
댓글 수: 0
추가 답변(1개)
참고 항목
범주
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!