How to change axes linewidth?

761 visualizzazioni (ultimi 30 giorni)
Mr M.
Mr M. il 30 Mar 2016
Commentato: Susan Eden il 17 Gen 2024
Is it possible to control linewidth of axis and tics?

Risposte (4)

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

Lightonz
Lightonz il 26 Mag 2020
Get the handle of the Axes and change all you want:
H=gca;
H.LineWidth=1; %change to the desired value

dpb
dpb il 30 Mar 2016
See <axes-properties> 'linewidth'

Anmol Pardeshi
Anmol Pardeshi il 18 Feb 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.

Categorie

Scopri di più su Visual Exploration in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by