How to change axes linewidth?

235 vues (au cours des 30 derniers jours)
Mr M.
Mr M. le 30 Mar 2016
Commenté : Susan Eden le 17 Jan 2024
Is it possible to control linewidth of axis and tics?

Réponses (4)

Azzi Abdelmalek
Azzi Abdelmalek le 30 Mar 2016
set(gca,'linewidth',6)

Lightonz
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
dpb le 30 Mar 2016
See <axes-properties> 'linewidth'

Anmol Pardeshi
Anmol Pardeshi le 18 Fév 2020
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
Susan Eden le 17 Jan 2024
Thankyou very much. You saved me.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Line Plots dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by