Band graph - fillcolor

For questions regarding the import, export and manipulation of data in EViews, including graphing and basic statistics.

Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason

tvonbrasch
Posts: 569
Joined: Fri Apr 15, 2011 5:35 am

Band graph - fillcolor

Postby tvonbrasch » Sun Jun 16, 2013 12:54 pm

Hi

I have a band graph, with two bands (4 series). I want to attach a color to each of the bands. I have tried

graph gindexband.band i_la_b i_pa_b i_b i8_b
gindexband.setelem(1) legend("Band: Laspeyres") fillcolor(black) 'symbol(circle)
gindexband.setelem(2) legend("Paasche") fillcolor(black)
gindexband.setelem(3) legend("Band: Upper Bound Index") fillcolor(gray)
gindexband.setelem(4) legend(" 0.8 - 1") fillcolor(gray)
gindexband.draw(shade, bottom) 2005 2012


(see attached files),

but it does not work. How do I set the fillcolor in both bands?
Attachments
band_fill.WF1
(12.55 KiB) Downloaded 255 times
band_fill.prg
(393 Bytes) Downloaded 295 times

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: Band graph - fillcolor

Postby EViews Gareth » Mon Jun 17, 2013 8:02 am

Code: Select all

gindexband.setelem(2) fillcolor(blue)


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 2 guests