Problem with patterns in "addarrow"

For notifying us of what you believe are bugs or errors in EViews.
Please ensure your copy of EViews is up-to-date before posting.

Moderators: EViews Gareth, EViews Moderator

johansamuelsson
Posts: 160
Joined: Thu Mar 03, 2011 10:07 pm
Contact:

Problem with patterns in "addarrow"

Postby johansamuelsson » Wed Mar 09, 2016 1:21 pm

Hi

I may have found a bug. When using numerical value for diffrent patterns in "addarrow" the pattern do not does not match the manual

http://www.eviews.com/help/helpintro.html#page/EViews%25209%2520Help%2Fgraphcmd.095.02.html%23ww226457

See code and graph below.

Code: Select all

WfCreate annual 2000 2015
Graph g.line 0 13
g.options gridnone
g.axis -label
g.setelem(1) linecolor(White)
g.setelem(2) linecolor(White)

!axisminb = g.@axispos(g.@axismin("b"),"b")
!axismaxb = g.@axispos(g.@axismax("b"),"b")

For !i = 1 To 12
  !j = @Abs(!i-12)+1
  !pos1 = g.@axispos(!j,"l")
  g.addarrow pos(!axisminb,!pos1,!axismaxb,!pos1) pattern(!i) endsym(none) linewidth(2) label(!i)
Next

Show g


g.gif
g.gif (6.43 KiB) Viewed 3042 times


Regards Johan

EViews Jason
EViews Developer
Posts: 870
Joined: Tue Sep 16, 2008 3:50 pm

Re: Problem with patterns in "addarrow"

Postby EViews Jason » Thu Mar 10, 2016 9:38 am

It will be fixed in the next patch.

Note however pattern #12 in the docs is listed as none. We do not have a 'none' pattern for arrows.

#12 is very small dashes. #12 will be the equivalent to #6 in your screenshot.


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 28 guests