Blurry latex text on plots (help!) (matlab 2017a)
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Joan Quirant Pellín
am 25 Dez. 2017
Kommentiert: Joan Quirant Pellín
am 3 Jan. 2018
I want to write some text on my plots and what I obtain is something very blurry (and I want a clear text!). I want the latex font, so the first I have on my editor is:
set(groot,'defaulttextinterpreter','latex'); set(groot, 'defaultAxesTickLabelInterpreter','latex'); set(groot, 'defaultLegendInterpreter','latex');
then I write all I want and all is in the latex mode. But when I write text on the plots I get this:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/168108/image.png)
As you can see, the title and the axes are okay, but the text on the plot is very blurry. I have used this:
%closed-open text closed=text(1.1,-0.03,'closed','FontSize',15); set(closed,'Rotation',-17);
Does anybody know the way to put a clear text on the plots? (using latex mode). I would be very very grateful if someone gives me the answer (I have been searching on the internet I haven't found anything).
Thanks a lot
(I include a new photo more detailed of the text:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/168109/image.png)
0 Kommentare
Akzeptierte Antwort
Neil Guertin
am 2 Jan. 2018
Bearbeitet: Neil Guertin
am 2 Jan. 2018
Try increasing the resolution when you export the figure. You can do this with the -r option of the print command.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Annotations finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!