Changing the figure font

Hi every body,
I want to change the font size of the plotted figure itself, so as we have many line styles like (--, :, -., -) I need my figure to be more bold. I do not mean the axises, but the figure itself.
Please let me know how, Thanks,and have a nice day

1 Kommentar

Daniel Shub
Daniel Shub am 10 Apr. 2012
Are you trying to make the change in the on screen display, a printed copy, or an exported file?

Melden Sie sich an, um zu kommentieren.

 Akzeptierte Antwort

Honglei Chen
Honglei Chen am 10 Apr. 2012

0 Stimmen

x = 1:10;
plot(x,'LineWidth',4)

1 Kommentar

Abdulaziz
Abdulaziz am 10 Apr. 2012
Thank you both (Chen and Roberson)
I was looking for your answer Chen, it works now.
Thanks a lot

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (2)

Walter Roberson
Walter Roberson am 10 Apr. 2012

0 Stimmen

Perhaps what you want to change is the line thickness instead of the font size? Changing font sizes does not make anything more bold.

1 Kommentar

Abdulaziz
Abdulaziz am 10 Apr. 2012
Ok, Do you know how can I change the thickness?
If so, Please let me know
Thanks a lot

Melden Sie sich an, um zu kommentieren.

Daniel Shub
Daniel Shub am 10 Apr. 2012

0 Stimmen

You can change the default line thickness with:
set(0, 'defaultlinelinewidth', 16)

Kategorien

Mehr zu Creating, Deleting, and Querying Graphics Objects finden Sie in Hilfe-Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by