回答 (4 件)

Azzi Abdelmalek
Azzi Abdelmalek 2016 年 3 月 30 日

14 投票

set(gca,'linewidth',6)
Lightonz
Lightonz 2020 年 5 月 26 日

2 投票

Get the handle of the Axes and change all you want:
H=gca;
H.LineWidth=1; %change to the desired value
dpb
dpb 2016 年 3 月 30 日

0 投票

See <axes-properties> 'linewidth'
Anmol Pardeshi
Anmol Pardeshi 2020 年 2 月 18 日

0 投票

go to edit -> axes properties and this will open up a property inspector. within this select "box styling" option and see the value for "LineWidth". By changing this, you will be able to change the thickness of the axes in the figure.

1 件のコメント

Susan Eden
Susan Eden 2024 年 1 月 17 日
Thankyou very much. You saved me.

サインインしてコメントする。

カテゴリ

質問済み:

2016 年 3 月 30 日

コメント済み:

2024 年 1 月 17 日

Community Treasure Hunt

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

Start Hunting!

Translated by