MATLAB: Num2str font size MATLAB Hi, can someone tell me how to increase the font size when using num2str? ex:text(x(i),y(i),num2str(i)) Best Answer text(x(i),y(i),num2str(i),'FontSize',14)Specify your required size... Related SolutionsMATLAB: Changing the location of num2str Add an offset to the x (and/or y) location: d = 0.01; text(x(i)+d,y(i),num2str(i))Remember that x and y are data units: you will need to pick a value of d that makes sense for your data. MATLAB: Num2str with latex You can use rats function to get what you need actually.Try this below: m = 1/4;a = ['$\it{\bf{(f_{ohm}P)^{',rats(m), '}}}$'];xlabel(a,'Interpreter','Latex','FontSize', 15 ); Related QuestionChange the location of a text in a plotNum2str errorHow to use the text and sprintf functions to label a point on a graphHow to apply font options when using the LaTeX interpreter in MATLABNum2str errorsDifferent font sizes for y labels
Best Answer