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 Center および File ExchangeTitle についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by