Effacer les filtres
Effacer les filtres

How to change the thickness of lines in imagesc plot?

8 vues (au cours des 30 derniers jours)
Namira
Namira le 3 Juil 2018
Modifié(e) : Namira le 5 Juil 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.

Réponse acceptée

Image Analyst
Image Analyst le 4 Juil 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);

Plus de réponses (0)

Catégories

En savoir plus sur Contour Plots dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by