I know it is possible because I’ve made it a long time ago, but I can’t remember - how
and the code is deleted.
But how can I supress the annotation in the right subplot?
plot([leer data], layout=(1,2), leg=:false, grid=:off, ann=(5,0,text("Sample text")))
Many thanks for tips.
Please next time Please read: make it easier to help you
Choose a descriptive title that captures the key specific part of your question, eg “plots with multiple axes” instead of something generic like “help me with plotting” . Make use of tags and categories; you can edit those and the title after posting , too. These will make it more likely that your question will be seen by the people who can potentially help.
annotate!() one can direct the annotations to each subplot.
Example for a 2x2 layout:
data = rand(4, 50)
p = plot(data, layout=(2,2), leg=:false, grid=:off, ylims=(0,1.2))
annotate!(p, 2.5, 1.1, text("subplot-1"))
annotate!(p, 2.5, 1.1, text("subplot-4"))
Thanks a lot.
That’s exact what I’m looking for. I had another solution in my mind, but I
can’t remember. However…an example that I want: