How to filter out the noisy portion of contourf plot?
The code below shows a ´contourf´ plot
load(‘impdta.mat’)
[C,h] = contourf(x1,y1,ua, ‘ShowText’,’on’,FaceAlpha=0.3,EdgeAlpha=0.2,EdgeColor=’k’,LevelStep=10);
clabel(C,h,’FontSize’,7,’Color’,[0.6 0.6 0.6])
axis equal
In the above contour plot, the left side of the contour shows a smooth trend. I want to use this contour plot to interpolate to a value (say 60), which in current situation gives multiple ‘lines’ (marked in red). Is there a way the cluttered contours can be filtered out? An idea could be to use limits of x from zero to 600, but there are multiple plots in which this noncluttered area changes location and the limits cannot be simply applied. I would like to filter out the cluttered portion and left with the smooth contour lines only so that when I interpolate the value, only distinct contours can be extracted. I would appreciate if a solution can be attained.
hold on
contourf(x1,y1,ua, [60 60], ‘ShowText’,’on’,FaceAlpha=0,EdgeAlpha=0.5,EdgeColor=’r’);The code below shows a ´contourf´ plot
load(‘impdta.mat’)
[C,h] = contourf(x1,y1,ua, ‘ShowText’,’on’,FaceAlpha=0.3,EdgeAlpha=0.2,EdgeColor=’k’,LevelStep=10);
clabel(C,h,’FontSize’,7,’Color’,[0.6 0.6 0.6])
axis equal
In the above contour plot, the left side of the contour shows a smooth trend. I want to use this contour plot to interpolate to a value (say 60), which in current situation gives multiple ‘lines’ (marked in red). Is there a way the cluttered contours can be filtered out? An idea could be to use limits of x from zero to 600, but there are multiple plots in which this noncluttered area changes location and the limits cannot be simply applied. I would like to filter out the cluttered portion and left with the smooth contour lines only so that when I interpolate the value, only distinct contours can be extracted. I would appreciate if a solution can be attained.
hold on
contourf(x1,y1,ua, [60 60], ‘ShowText’,’on’,FaceAlpha=0,EdgeAlpha=0.5,EdgeColor=’r’); The code below shows a ´contourf´ plot
load(‘impdta.mat’)
[C,h] = contourf(x1,y1,ua, ‘ShowText’,’on’,FaceAlpha=0.3,EdgeAlpha=0.2,EdgeColor=’k’,LevelStep=10);
clabel(C,h,’FontSize’,7,’Color’,[0.6 0.6 0.6])
axis equal
In the above contour plot, the left side of the contour shows a smooth trend. I want to use this contour plot to interpolate to a value (say 60), which in current situation gives multiple ‘lines’ (marked in red). Is there a way the cluttered contours can be filtered out? An idea could be to use limits of x from zero to 600, but there are multiple plots in which this noncluttered area changes location and the limits cannot be simply applied. I would like to filter out the cluttered portion and left with the smooth contour lines only so that when I interpolate the value, only distinct contours can be extracted. I would appreciate if a solution can be attained.
hold on
contourf(x1,y1,ua, [60 60], ‘ShowText’,’on’,FaceAlpha=0,EdgeAlpha=0.5,EdgeColor=’r’); contourf, filtering, noise, cluttering, discard noise MATLAB Answers — New Questions