如何在Plots.jl中设置标题字体大小



是否有一种简单的方法可以只更改Plots.jl中标题的字体大小(即其他所有内容都应保持不变(?

使用titlefontsize关键字参数。如文件所示:https://docs.juliaplots.org/latest/generated/attributes_subplot/#

如何同时定义标题和轴的字体和大小也可能很有趣:

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

最新更新