How can i have contour lines invisible in contourf?

142 visualizaciones (últimos 30 días)
Eyal Barnea
Eyal Barnea el 11 de Jun. de 2017
Respondida: Stalin Samuel el 11 de Jun. de 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 comentario
KSSV
KSSV el 11 de Jun. de 2017
If you want to make lines invisible...why to plot in first place?

Iniciar sesión para comentar.

Respuesta aceptada

Star Strider
Star Strider el 11 de Jun. de 2017
In R2017a, set 'LineStyle' to 'none':
figure(1)
Z = peaks(20);
contourf(Z,10, 'LineStyle','none')

Más respuestas (1)

Stalin Samuel
Stalin Samuel el 11 de Jun. de 2017
[cs,hc]=contourf(args);
set(hc,'EdgeColor','none')

Categorías

Más información sobre Contour Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by