How to change the thickness of lines in imagesc plot?

8 Ansichten (letzte 30 Tage)
Namira
Namira am 3 Jul. 2018
Bearbeitet: Namira am 5 Jul. 2018
I plotted this figure using command
imagesc(fd,f,log10(P));
I am able to change the colors of the figure, but I can't control the thickness of the line in Figure. I would like to draw the same figure with thicker and black colored line.
How could I proceed? Thanks.

Akzeptierte Antwort

Image Analyst
Image Analyst am 4 Jul. 2018
I don't know where the lines came from but if they are burned into the image, you can widen dark things by using imerode() which is a local minimum:
se = strel('disk', 4, 0);
fd = imerode(fd, se);

Weitere Antworten (0)

Kategorien

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

Community Treasure Hunt

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

Start Hunting!

Translated by