How to change axes linewidth?

554 次查看(过去 30 天)
Mr M.
Mr M. 2016-3-30
评论: Susan Eden 2024-1-17
Is it possible to control linewidth of axis and tics?

回答(4 个)

Azzi Abdelmalek
Azzi Abdelmalek 2016-3-30
set(gca,'linewidth',6)

Lightonz
Lightonz 2020-5-26
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
See <axes-properties> 'linewidth'

Anmol Pardeshi
Anmol Pardeshi 2020-2-18
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.

类别

Help CenterFile Exchange 中查找有关 Annotations 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by