Plot setting axis properties

조회 수: 6 (최근 30일)
john birt
john birt 2011년 4월 5일
I just want to set the following properties
axis( ylim([-0.05 0.25]), xlabel('Lag'), ylabel('ACF'))
axes('FontSize',5)
set(gcf,'Position',[400 400 300 200])
I know this is wrong but I just want to label the x and y axis, set the font size for all axis labels and all numbering to font-size 5 and set the graph so its just 300 wide by 200 high.
how do I do this? )

채택된 답변

Jan
Jan 2011년 4월 5일
set(gca, 'ylim', [-0.05 0.25], 'FontSize', 5);
xlabel('Lag');
ylabel('ACF'))
set(gcf, 'Position', [400 400 300 200])
  댓글 수: 1
john birt
john birt 2011년 4월 5일
thank you, thats awesome!

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

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by