Hi,
as you probably figured out, there is no problem of having a title per plot.
It is set by a simple title
option.
The others are not possible to add by Plots.jl
options as far as I can tell.
At least, you can always get a matplotlib
object and act on it directly.
using Plots
pyplot()
plot(layout=grid(2,2))
plot!(x->x^2, -1, 2, sp=1, title="Title 1", frame=:box)
plot!(x->x^2, -1, 2, sp=2, title="Title 2", frame=:box)
plot!(x->x^2, -1, 2, sp=3, title="Title 3", frame=:box)
plot!(x->x^2, -1, 2, sp=4, title="Title 4", frame=:box)
plt = plot!()
fig = plt[3][1][:plot_object].o
children = fig[:get_children]()
ax = children[2]
ax[:text](0.6, 1.2, "My Big Title", fontsize=22, transform=ax[:transAxes], verticalalignment="bottom")
fig[:canvas][:print_figure]("awesome.pdf",bbox_inches="tight")
It feels ugly, I know.