Smooth line end?

17 visualizaciones (últimos 30 días)
Richard Joh
Richard Joh el 22 de Mayo de 2018
Comentada: Richard Joh el 22 de Mayo de 2018
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

Respuestas (1)

Steven Lord
Steven Lord el 22 de Mayo de 2018
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 comentario
Richard Joh
Richard Joh el 22 de Mayo de 2018
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.

Iniciar sesión para comentar.

Categorías

Más información sobre Labels and Styling en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by