2023年3月10日金曜日

矢印を描く

午前
・データ整理

午後
・ポスター作成

geom_segment()で矢印を描くとalphaがうまく機能しない?

下記のようにannotate()を使うと描くことができた。
annotate("segment",
	x=-30, y=-5, xend=-25, yend=3,
    arrow=arrow(length = unit(1, "cm")),
    lineend = 'round', size=10, color="blue", alpha=0.2)