필터 지우기
필터 지우기

Change graph style and layout

조회 수: 1 (최근 30일)
SuzieChan
SuzieChan 2020년 4월 11일
댓글: Image Analyst 2020년 4월 11일
Hi,
How can I make my graphs look like this style?
What is the code for the font, axis and layout of these graphs in matlab?
I think font is Times New Roman.
Thank you.
  댓글 수: 2
BN
BN 2020년 4월 11일
편집: BN 2020년 4월 11일
Yes I think it's Times New Roman too.
set(gca,'fontname','Times New Roman','FontSize',8) % Set current figure font to times new roman size 8
In the case of axis you can do that:
ylabel('something','FontSize',12)
xlabel('something','FontSize',12)
Here is what I knew, in this case.
Image Analyst
Image Analyst 2020년 4월 11일
Behzad, if you put answers down in the Answers section, like Ameer did, you can get credit/reputation points for helping. Up here in the comments section is where people ask posters for clarification of questions, like asking them to attach data or whatever.

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

채택된 답변

Ameer Hamza
Ameer Hamza 2020년 4월 11일
편집: Ameer Hamza 2020년 4월 11일
Some thing like this
fig = figure();
fig.Position(4) = fig.Position(4)/2;
ax(1) = subplot(1,2,1);
ax(1).FontName = 'Times';
xlabel('\theta')
ylabel('R')
ax(1) = subplot(1,2,2);
ax(1).FontName = 'Times';
xlabel('Chi (m)')
ylabel('Elevation (m)')
Use annotation(): https://www.mathworks.com/help/matlab/ref/annotation.html to add text boxes and arrows.

추가 답변 (0개)

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by