필터 지우기
필터 지우기

Title of a plot

조회 수: 3 (최근 30일)
Brooke
Brooke 2012년 3월 31일
I would like the title of my plot to be user-defined:
So something like: n = input('n: ') title('Plot of ... with n=%5.15f', n)
But this suggested code doesn't work, could someone suggest a command that works? Thank you.

채택된 답변

Walter Roberson
Walter Roberson 2012년 3월 31일
title(sprintf('Plot of ... with n=%5.15f', n));
  댓글 수: 1
Image Analyst
Image Analyst 2012년 3월 31일
A useful option of title is the ability to set the size of the font:
title(caption, 'FontSize', 30); % or whatever size you want.

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

추가 답변 (0개)

카테고리

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

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by