Dear all,
I am attempting to place arrows pointing to vertical lines that I have drawn on a marginal plot. I have tried using the pcarrowi option with and without addplot but have not succeeded.
This is what I have tried:
This does not work and only creates a legend. What I would like to place an arrow on the plot pointing from "Some text" to the vertical line drawn using xline. What am I doing wrong? Any help will be highly appreciated. Thank you!
Sincerely,
Chiara
I am attempting to place arrows pointing to vertical lines that I have drawn on a marginal plot. I have tried using the pcarrowi option with and without addplot but have not succeeded.
This is what I have tried:
Code:
margins, at(xvar = (-23(2)33.8)) marginsplot, addplot(pcarrowi -5 8) xline(8.5, lcolor(black) lwidth(tthin)) text(-5 6 "Some text", size(tiny)) /// recast(line) recastci(rarea) plotopts(lcolor(dknavy)) ci1opts(color(ltblue)) graphregion(color(white)) bgcolor(white) /// ylabel(-20(5)0, labsize(*0.6) nogrid) xlabel(#5, labsize(*0.6)) title("", size(vsmall))
Sincerely,
Chiara
Comment