How can i have contour lines invisible in contourf?

146 Ansichten (letzte 30 Tage)
Eyal Barnea
Eyal Barnea am 11 Jun. 2017
Beantwortet: Stalin Samuel am 11 Jun. 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 Kommentar
KSSV
KSSV am 11 Jun. 2017
If you want to make lines invisible...why to plot in first place?

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

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

Weitere Antworten (1)

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

Kategorien

Mehr zu Contour Plots finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by