Changing the figure font

조회 수: 1 (최근 30일)
Abdulaziz
Abdulaziz 2012년 4월 10일
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
Daniel Shub
Daniel Shub 2012년 4월 10일
Are you trying to make the change in the on screen display, a printed copy, or an exported file?

댓글을 달려면 로그인하십시오.

채택된 답변

Honglei Chen
Honglei Chen 2012년 4월 10일
x = 1:10;
plot(x,'LineWidth',4)
  댓글 수: 1
Abdulaziz
Abdulaziz 2012년 4월 10일
Thank you both (Chen and Roberson)
I was looking for your answer Chen, it works now.
Thanks a lot

댓글을 달려면 로그인하십시오.

추가 답변 (2개)

Walter Roberson
Walter Roberson 2012년 4월 10일
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
Abdulaziz
Abdulaziz 2012년 4월 10일
Ok, Do you know how can I change the thickness?
If so, Please let me know
Thanks a lot

댓글을 달려면 로그인하십시오.


Daniel Shub
Daniel Shub 2012년 4월 10일
You can change the default line thickness with:
set(0, 'defaultlinelinewidth', 16)

카테고리

Help CenterFile Exchange에서 Graphics Objects에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by