How to avoid painting outside the figure using linewidth

2 Ansichten (letzte 30 Tage)
Jaime  de la Mota
Jaime de la Mota am 7 Jun. 2019
Beantwortet: darova am 7 Jun. 2019
Hello everyone.
I am plotting some figures using linewidth. However, in the very example at https://www.mathworks.com/help/matlab/creating_plots/using-high-level-plotting-functions.html
The points trespass the figure's border. Is there a way to avoid this?question.png

Antworten (1)

darova
darova am 7 Jun. 2019
Use
axis([xmin xmax ymin ymax])

Kategorien

Mehr zu Graphics Objects 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