I am creating a set of graphs in a loop that iterates over a set of countries. I would like to change the line width in each of the graphs to make them more legible.
Below is a code fragment that works. I tried inserting caicomp_{%x}.setelem(1) lwidth(2) into the loop below to increase the width of the lines, but it did not work. What am I missing?
Thank you.
for %x {%countries}
' Do some calculations....
smpl %start_caicomp %end_caicomp
freeze(caicompfig_{%x}) caicomp_{%x}.line
copy {%x}_m\caicompfig_{%x} figures_m\caicompfig_{%x}
smpl @all
next
Modifying graphs in a loop
Moderators: EViews Gareth, EViews Jason, EViews Moderator, EViews Matt
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13307
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Modifying graphs in a loop
You have to use .setelem on the graph object, not the series.
Follow us on Twitter @IHSEViews
Who is online
Users browsing this forum: No registered users and 25 guests