How to use bar plot without outlines?

21 Ansichten (letzte 30 Tage)
Mr M.
Mr M. am 5 Okt. 2015
Beantwortet: Mike Garrity am 5 Okt. 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.

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Line 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