Hi
Is there a way to smooth out the edges of piecewise-linear lines? For example, in the following figure, I see several clunky points on my curve. This is because matlab is drawing a rectangle for each line segment. Whenever I use thick lines or few points to draw, this seems to happen.
I am looking for a way to smooth both ends of rectangles hopefully within 'plot' environment.
Thanks, Richard

답변 (1개)

Steven Lord
Steven Lord 2018년 5월 22일

2 개 추천

If you're using release R2015b or later, depending how you're creating your plot, the LineJoin property may be of use to you.

댓글 수: 1

Richard Joh
Richard Joh 2018년 5월 22일
Thanks for the suggestion. Right now I am mainly using 2013a version. The problem arises only after I use "print('FILENAME','-dtiff','-r300')". On screen, figures look ok.

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Labels and Styling에 대해 자세히 알아보기

제품

태그

질문:

2018년 5월 22일

댓글:

2018년 5월 22일

Community Treasure Hunt

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

Start Hunting!

Translated by