Weird characters when editing figure
1 view (last 30 days)
Hi. I've recently installed MATLAB R2022a and R2017b on a Windows 10 PC. All seems to work fine, but I get weird characters when editing the title or the axis labels of figures.
I’m attaching screenshots of a simple example to highlight the phenomenon. The aspect of the figure is the usual one: the text is completely legible.
However, when double-clicking in the text for editing it, weird/random characters appear instead of the original text.
I get the same behaviour in both versions of MATLAB and don’t why or how to solve it. Any idea?
Constantino Carlos Reyes-Aldasoro on 7 Jul 2022
I would suggest that you do not edit the text of figures. The whole idea of using Matlab instead of photoshop/gimp/illustrator is that the whole figure should be created in code. Then, in case you need to modify in the future (and you will in most cases!) you only need to re-run the code. To expand, create a file for the figure, e.g. Fig1.m, and then write there all your steps to generate your desired figure. When finished, just click RUN at the top and the figure should be created. I have written a book about Matlab for image processing and the last chapter is just about how to create publication-quality figures. Have a look: