Hi, I would like to write an overline notation above a variable in y label. My code doesn't work at all. Could you please suggest a solution Thanks
figureyyaxis lefthold onplot(d,o_DD_abs,'r-s','LineWidth',3,'MarkerSize',15)plot(d,o_SA_abs,'k-o','LineWidth',3,'MarkerSize',15)hold offxlabel('R / r_0')*ylabel('\color{black} \bar{s} in | M | (%)')*axis tightylim([0 120]) xlim([1 4])yticks([0 40 80 120])ax = gca;ax.YColor = 'black';yyaxis righthold onplot(d,o_DD_pha,'-^','LineWidth',3,'MarkerSize',15)plot(d,o_SA_pha,'-v','LineWidth',3,'MarkerSize',15)hold offax = gca;ax.YColor = 'black';legend('D&D | M |','New Formulae | M |','D&D \phi( M )','New Formulae \phi( M )')set(findall(gcf,'-property','FontName'),'FontName', 'Times New Roman','fontsize',50)
Best Answer