Title of a plot
조회 수: 3 (최근 30일)
이전 댓글 표시
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.
댓글 수: 0
채택된 답변
Walter Roberson
2012년 3월 31일
title(sprintf('Plot of ... with n=%5.15f', n));
댓글 수: 1
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 Center 및 File Exchange에서 Title에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!