MATLAB: Plot Title Problem 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? Best Answer title(filename, 'Interpreter','none') Related SolutionsMATLAB: Plot title "title" is a function so don't use it for variable name.title() needs a string input so all you need to do is to concatenate your numbers together into a string. You may need to use num2str() or sprintf(). MATLAB: How do i change the linewidth and the fontsize in a legend Solved!!![~, hobj, ~, ~] = legend({'ONE','TWO'},'Fontsize',12,'Location','Northeast');hl = findobj(hobj,'type','line');set(hl,'LineWidth',1.5);ht = findobj(hobj,'type','text')set(ht,'FontSize',12); Related QuestionLatex Interpreter MATLAB title underscoresSubplots made by multiple plotsLEGEND TITLETitle of figure with subplot title[title removed]
Best Answer