How to change axes linewidth?

760 Ansichten (letzte 30 Tage)
Mr M.
Mr M. am 30 Mär. 2016
Kommentiert: Susan Eden am 17 Jan. 2024
Is it possible to control linewidth of axis and tics?

Antworten (4)

Azzi Abdelmalek
Azzi Abdelmalek am 30 Mär. 2016
set(gca,'linewidth',6)

Lightonz
Lightonz am 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 am 30 Mär. 2016
See <axes-properties> 'linewidth'

Anmol Pardeshi
Anmol Pardeshi am 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.
  1 Kommentar
Susan Eden
Susan Eden am 17 Jan. 2024
Thankyou very much. You saved me.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Visual Exploration finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by