How to change axes linewidth?

Réponses (4)

Lightonz
Lightonz le 26 Mai 2020

2 votes

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 le 18 Fév 2020

0 votes

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.

Catégories

En savoir plus sur Creating, Deleting, and Querying Graphics Objects dans Centre d'aide et File Exchange

Question posée :

le 30 Mar 2016

Commenté :

le 17 Jan 2024

Community Treasure Hunt

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

Start Hunting!

Translated by