I would like to annotate my plots with a filename. With plot()
I used mtext
:
plot(1:10)
mtext("File xy-12-34-56.csv", 4)
How can I do that with ggplot2 and qplot or ggplot? It should not collide with the legend.
I found the commands annotate
and grid
, but I could not get an annotation similar to mtext
with these.
As a workaround I could try watermarks, but perhaps you have a good hint for me. Kind regards, Jonas