Plot Title Problem

조회 수: 3 (최근 30일)
Baba
Baba 2011년 11월 9일
My code
title(filename);
where filename is a variable such as Plot_Dot
I would like the title to be exactly "Plot_Dot"
however, because of the underscore, D is being displayed as a
subscript. How do I avoid that?

채택된 답변

Walter Roberson
Walter Roberson 2011년 11월 9일
title(filename, 'Interpreter','none')

추가 답변 (1개)

Drew Weymouth
Drew Weymouth 2011년 11월 9일
Escape it with the backslash. title('Plot\_Dot')

카테고리

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