5

Is there a simple way to change the fontsize of only (i.e., everything else should remain unchanged) the title in Plots.jl?

Pietro
  • 415
  • 6
  • 16

2 Answers2

5

use the titlefontsize keyword argument. As documented: https://docs.juliaplots.org/latest/generated/attributes_subplot/#

jling
  • 2,160
  • 12
  • 20
0

Might also be interesting how to define a font and size at the same time, for both title and axis:

plot(title = "Awesome Title",
    titlefont = font(12,"Computer Modern"),
    guidefont = font(9,"Computer Modern")
 )
Aku
  • 660
  • 6
  • 9