How to avoid painting outside the figure using linewidth

2 ビュー (過去 30 日間)
Jaime  de la Mota
Jaime de la Mota 2019 年 6 月 7 日
回答済み: darova 2019 年 6 月 7 日
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

回答 (1 件)

darova
darova 2019 年 6 月 7 日
Use
axis([xmin xmax ymin ymax])

カテゴリ

Help Center および File ExchangeAnnotations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by