How can i have contour lines invisible in contourf?

71 次查看(过去 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?

采纳的回答

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')

类别

Help CenterFile Exchange 中查找有关 Contour Plots 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by