Is there an efficient way that the xticks and yticks numbers appear in LaTeX using Makie?

Yes. Maybe something is wrong with “Computer Modern” font in my laptop, so I install a new “Computer Modern” font and it looks right now.

And, It seems you got the message because Makie did not find the font in your computer. It`s a general issue in Frequently Asked Questions (juliaplots.org).

If Makie can’t find your font, you can do two things:

  1. Check that the name matches and that the font is in one of the directories in:
  • using FreeTypeAbstraction; FreeTypeAbstraction.valid_fontpaths
  1. You can add a custom font path via the environment variable:
  • ENV["FREETYPE_ABSTRACTION_FONT_PATH"] = "/path/to/your/fonts"
  1. Specify the path to the font; instead of font = "Noto" , you could write joindir(homedir(), "Noto.ttf") or something.

Good luck!