What works in 2024 stopped with 2025: Latex interpreter
The following (textcircled and fbox) used to produce circled and boxed text on axes in MATLAB 2024 and earlier versions. Can you tell what might have happened and/or a specific setting that would restore? Or is there an alternative efficient way (instead of writing lines of code and using graphics) to get circled/boxed text?
My original source was : https://stackoverflow.com/questions/10818392/matlab-putting-a-circled-number-onto-a-graph
I realize that latex support in MATLAB may be somewhat limited, but I wish that what worked before still works.
Thank you all in advance…
GP–
text(0.5,0.5,[‘ ‘ ‘ $raisebox{.5pt}{textcircled{raisebox{-.9pt} {‘ num2str(14) ‘}}}$’ ‘ :i-end’],…
‘Units’,’normalized’,’HorizontalAlignment’,’left’,’VerticalAlignment’, ‘bottom’, ‘Color’,’m’,…
‘Interpreter’,’latex’,"FontSize",14);
text(0.2,0.5,[‘$fbox{ ‘ num2str(25) ‘ }$’ ],…
‘HorizontalAlignment’,’center’,’VerticalAlignment’, ‘top’,’rotation’,40,…
‘Interpreter’,’latex’,"FontSize",11);The following (textcircled and fbox) used to produce circled and boxed text on axes in MATLAB 2024 and earlier versions. Can you tell what might have happened and/or a specific setting that would restore? Or is there an alternative efficient way (instead of writing lines of code and using graphics) to get circled/boxed text?
My original source was : https://stackoverflow.com/questions/10818392/matlab-putting-a-circled-number-onto-a-graph
I realize that latex support in MATLAB may be somewhat limited, but I wish that what worked before still works.
Thank you all in advance…
GP–
text(0.5,0.5,[‘ ‘ ‘ $raisebox{.5pt}{textcircled{raisebox{-.9pt} {‘ num2str(14) ‘}}}$’ ‘ :i-end’],…
‘Units’,’normalized’,’HorizontalAlignment’,’left’,’VerticalAlignment’, ‘bottom’, ‘Color’,’m’,…
‘Interpreter’,’latex’,"FontSize",14);
text(0.2,0.5,[‘$fbox{ ‘ num2str(25) ‘ }$’ ],…
‘HorizontalAlignment’,’center’,’VerticalAlignment’, ‘top’,’rotation’,40,…
‘Interpreter’,’latex’,"FontSize",11); The following (textcircled and fbox) used to produce circled and boxed text on axes in MATLAB 2024 and earlier versions. Can you tell what might have happened and/or a specific setting that would restore? Or is there an alternative efficient way (instead of writing lines of code and using graphics) to get circled/boxed text?
My original source was : https://stackoverflow.com/questions/10818392/matlab-putting-a-circled-number-onto-a-graph
I realize that latex support in MATLAB may be somewhat limited, but I wish that what worked before still works.
Thank you all in advance…
GP–
text(0.5,0.5,[‘ ‘ ‘ $raisebox{.5pt}{textcircled{raisebox{-.9pt} {‘ num2str(14) ‘}}}$’ ‘ :i-end’],…
‘Units’,’normalized’,’HorizontalAlignment’,’left’,’VerticalAlignment’, ‘bottom’, ‘Color’,’m’,…
‘Interpreter’,’latex’,"FontSize",14);
text(0.2,0.5,[‘$fbox{ ‘ num2str(25) ‘ }$’ ],…
‘HorizontalAlignment’,’center’,’VerticalAlignment’, ‘top’,’rotation’,40,…
‘Interpreter’,’latex’,"FontSize",11); latex, circled text, boxed text MATLAB Answers — New Questions









