How to set title fontsize in Plots.jl
Asked Answered
B

2

6

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

Businessman answered 24/5, 2021 at 15:36 Comment(0)
T
6

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

Timber answered 24/5, 2021 at 19:59 Comment(0)
R
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")
 )
Rustler answered 1/5, 2023 at 13:36 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.