Plot Title Problem
显示 更早的评论
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?
采纳的回答
更多回答(1 个)
Drew Weymouth
2011-11-9
1 个投票
Escape it with the backslash. title('Plot\_Dot')
类别
在 帮助中心 和 File Exchange 中查找有关 Title 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!