Page 1 of 1

addarrow - labelpos option not working properly

Posted: Tue Nov 21, 2017 10:18 am
by mamo
Dear Eviews team,
I use Eviews 9.5 Dec 2016 built
It seems that the labelpos option of the addarrow command does not work properly
The help page for addarrow says
label adds a text label to the start point of the arrow. labelpos specifies whether the text should be above the line (vert) or next to the line (horz)

However, in the code below, the positioning of the label does not change, irrespective of wether labelpos(vert) or labelpos(horz) is specified
Best, mamo

Code: Select all

wfcreate a 2000 2010
series x=nrnd
graph mygr.line x
mygr.addarrow pos(0,3.4, 0.5, 3.4) label(Vert)  labelpos(vert)
mygr.addarrow pos(2,3.4, 2.5, 3.4) label(Horz)  labelpos(horz)
show mygr

Re: addarrow - labelpos option not working properly

Posted: Mon Nov 27, 2017 9:25 am
by EViews Jason
That is by design. For horizontal arrows, 'vert' is ambiguous. Use 'A' or 'B'. And for vertical arrows use 'L' or 'R'.

Code: Select all

wfcreate a 2000 2010
series x=nrnd
graph mygr.line x
mygr.addarrow pos(0,3.4, 0.5, 3.4) label(Vert)  labelpos(A)
mygr.addarrow pos(2,3.4, 2.5, 3.4) label(Horz)  labelpos(B)
show mygr