How to use bar plot without outlines?

조회 수: 21 (최근 30일)
Mr M.
Mr M. 2015년 10월 5일
답변: Mike Garrity 2015년 10월 5일
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.

채택된 답변

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Line Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by