Fix string for graph title

버전 1.0.0.0 (1.46 KB) 작성자: Alecsander Eitan
This function fixes a string before it is used as a title for a graph.
다운로드 수: 1.5K
업데이트 날짜: 2004/10/4

라이선스 보기

This function fixes a string before it is used as a title for a graph.

It is known that an underscore '_' is used in the title string to set the next character to lowercase. But, in many cases we don't need this feature, we just want to print the underscore. The correct way is to insert the '\_' pair instead of '_'. This function is doing exactly this. It can handle any number of underscores in the string.

EDITOR'S NOTE:
You can also accomplish this by setting a text object's interpreter. For example:
>> title('My_Plot','Interpreter','none')

인용 양식

Alecsander Eitan (2024). Fix string for graph title (https://www.mathworks.com/matlabcentral/fileexchange/5969-fix-string-for-graph-title), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R13
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Title에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0