evo icon indicating copy to clipboard operation
evo copied to clipboard

How to change the font type of all words to Times New Roman?

Open zxjhit opened this issue 3 years ago • 2 comments
trafficstars

Hello, first thank you for your great work for the slam community. I want to change the font type to Times New Roman as the picture you show in your plotting wiki like this, issue However,when I use evo_config set plot_fontfamily serif and use evo to plot the trajectory,the plotting result is that the axis name(such as x,y,roll pitch yaw) font dosen't change at all,only the unit(such as m,deg) font changes,like this. issue2 So how can I change the axis name font type to Times New Roman as well as the first picture shows? Thank you for your reply.

zxjhit avatar Mar 07 '22 07:03 zxjhit

The image in the Wiki is rendered with LaTeX. See https://github.com/MichaelGrupp/evo/wiki/Plotting#4-use-latex-renderer

The LaTeX font is not Times New Roman, by the way.

MichaelGrupp avatar Jun 23 '22 15:06 MichaelGrupp

Hello , i met this problem too. Is there any other way to change the front type into Time Tew Roman?

jeff210096 avatar Jul 26 '22 06:07 jeff210096

I recommend to check first if matplotlib supports this font. If it's possible with matplotlib somehow, then it's also possible with evo.

MichaelGrupp avatar Jan 11 '23 16:01 MichaelGrupp