How to remove contour line in filled contour plot?
Show older comments
Hi all,
I am plotting a data using contourf but the there is a contour line between the start and end value color even after using the
contourf(x,y,z,'LineStyle','none','linecolor','none')
%or
contourf(x,y,z,'LineStyle','none')
%or
contourf(x,y,z,'linecolor','none')
For example in the attached figure there is a line between dark blue and dark red.
Also, I have tried different colormap but the result is same.

Accepted Answer
More Answers (1)
KSSV
on 31 Aug 2021
Try:
pcolor(x,y,z) ;
colorbar ;
shading interp ;
1 Comment
UTKARSH VERMA
on 31 Aug 2021
Categories
Find more on 2-D and 3-D Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!




