Skip to content

Commit 6b9f93d

Browse files
committed
Move labels to lower left
1 parent 38ccba2 commit 6b9f93d

3 files changed

Lines changed: 525 additions & 493 deletions

File tree

src/plot_ACCESS_quantilesandmean.jl

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,10 +228,18 @@ labels = [
228228
"c" "f"
229229
]
230230

231+
labeloptions = (
232+
font = :bold,
233+
align = (:left, :bottom),
234+
offset = (5, 2),
235+
space = :relative,
236+
fontsize = 24
237+
)
238+
231239
for (ax, label) in zip(axs, labels)
232-
txt = text!(ax, 0, 1; text = "$label", labeloptions..., strokecolor = :white, strokewidth = 3)
240+
txt = text!(ax, 0, 0; text = "$label", labeloptions..., strokecolor = :white, strokewidth = 3)
233241
translate!(txt, 0, 0, 100)
234-
txt = text!(ax, 0, 1; text = "$label", labeloptions...)
242+
txt = text!(ax, 0, 0; text = "$label", labeloptions...)
235243
translate!(txt, 0, 0, 100)
236244
end
237245

0 commit comments

Comments
 (0)