How to change axes linewidth?

Antworten (4)

Azzi Abdelmalek
Azzi Abdelmalek am 30 Mär. 2016

14 Stimmen

set(gca,'linewidth',6)
Lightonz
Lightonz am 26 Mai 2020

2 Stimmen

Get the handle of the Axes and change all you want:
H=gca;
H.LineWidth=1; %change to the desired value
Anmol Pardeshi
Anmol Pardeshi am 18 Feb. 2020

0 Stimmen

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.

Kategorien

Mehr zu Creating, Deleting, and Querying Graphics Objects finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 30 Mär. 2016

Kommentiert:

am 17 Jan. 2024

Community Treasure Hunt

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

Start Hunting!

Translated by