How to change axes linewidth?
Afficher commentaires plus anciens
Is it possible to control linewidth of axis and tics?
Réponses (4)
Azzi Abdelmalek
le 30 Mar 2016
14 votes
set(gca,'linewidth',6)
Lightonz
le 26 Mai 2020
Get the handle of the Axes and change all you want:
H=gca;
H.LineWidth=1; %change to the desired value
dpb
le 30 Mar 2016
0 votes
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.
1 commentaire
Susan Eden
le 17 Jan 2024
Thankyou very much. You saved me.
Catégories
En savoir plus sur Creating, Deleting, and Querying Graphics Objects dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!