How to smooth a contour plot using the low pass filter

조회 수: 6 (최근 30일)
TAPAS
TAPAS 2020년 4월 28일
답변: Bjorn Gustavsson 2020년 4월 29일
Here I am attaching a data and the code I wrote to make a contour plot.Now I want to make the contour plot smooth using a low pass filter.Can you please make the data pass through a low pass filter and smooth the contour? ?

답변 (1개)

Bjorn Gustavsson
Bjorn Gustavsson 2020년 4월 29일
Since your narrow structure is slant relative to your grid this will be difficult. The TriScatteredInterp with the 'natural' method gave better results. For filtering of the contour-lines care has to be taken - it is not a given that the most naively filtered contourlines will not cross. There is a contour-line-smoother at the file exchange:
HTH

카테고리

Help CenterFile Exchange에서 Contour Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by