How can i have contour lines invisible in contourf?
30 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Eyal Barnea
le 11 Juin 2017
Réponse apportée : Stalin Samuel
le 11 Juin 2017
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 commentaire
Réponse acceptée
Star Strider
le 11 Juin 2017
In R2017a, set 'LineStyle' to 'none':
figure(1)
Z = peaks(20);
contourf(Z,10, 'LineStyle','none')
0 commentaires
Plus de réponses (1)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!