Connect adjacent points on graph

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Jason, EViews Moderator, EViews Matt

ashtongate
Posts: 21
Joined: Thu Sep 25, 2008 10:39 am
Location: Washington DC

Connect adjacent points on graph

Postby ashtongate » Tue Jun 16, 2015 7:16 am

Hi all, I know how to connect adjacent points in a chart using point and click but is there an option to include this in code? I thought there must be a line of code that would work like
graph graph1.line(option here to connect adjacent points) series1

but I cannot find it.

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

Re: Connect adjacent points on graph

Postby EViews Gareth » Tue Jun 16, 2015 7:19 am

Code: Select all

graph1.options connect
Follow us on Twitter @IHSEViews

ashtongate
Posts: 21
Joined: Thu Sep 25, 2008 10:39 am
Location: Washington DC

Re: Connect adjacent points on graph

Postby ashtongate » Tue Jun 16, 2015 7:20 am

Thx Gareth!

ashtongate
Posts: 21
Joined: Thu Sep 25, 2008 10:39 am
Location: Washington DC

Re: Connect adjacent points on graph

Postby ashtongate » Tue Jun 16, 2015 8:15 am

One more simple question (again could not find it in the literature), how can one customize the date labels using code? The graph.axis(b) command does not seem to provide that option

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

Re: Connect adjacent points on graph

Postby EViews Gareth » Tue Jun 16, 2015 9:27 am

graph.setobslabels
Follow us on Twitter @IHSEViews


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 23 guests