How to use bar plot without outlines?

16 visualizaciones (últimos 30 días)
Mr M.
Mr M. el 5 de Oct. de 2015
Respondida: Mike Garrity el 5 de Oct. de 2015
I don't want to make the outlines invisible, but I want the width to be zero, however the description says that LineWidth has to be positive. So what is the perfect solution? I want filled rectangles/bars touch each other.

Respuesta aceptada

Mike Garrity
Mike Garrity el 5 de Oct. de 2015
Either EdgeColor or LineStyle. You might also want to set BarWidth:
bar(rand(1,10),'EdgeColor','none','BarWidth',1)

Más respuestas (0)

Categorías

Más información sobre Line Plots en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by