Reputation: 2331
Hi all I'm using scripts for generating plots easily and with exactly the same layout.
That's why I'd like to create contourf
graph of given data automaticcaly without black contour lines. I can do it manually by advanced figure layout, byt is there a command for it?
Thanks for suggestions; I have no idea how to solve it.
Upvotes: 4
Views: 11284
Reputation: 125854
You can remove the black lines by setting the 'LineColor'
property to 'none'
, either in the initial call to CONTOURF:
contourf(peaks(20),10,'LineColor','none');
Or by modifying the handle graphics object after creating it:
[C,h] = contourf(peaks(20),10);
set(h,'LineColor','none');
Upvotes: 7