Can I change the legend text by programming means-- not through the GRAPH Options GUI
Ie something like
plot(legend= 'Unemplyement rate', 'Inflation rate') series1 series2
Just being able to use the series description, not the variable name, might be enough (assuming I can edit the description)
Program Legend text
Moderators: EViews Gareth, EViews Moderator
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13307
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Program Legend text
The easiest way is to change the display name of the underlying series prior to creating the graph.
Follow us on Twitter @IHSEViews
Re: Program Legend text
OK so I would do something like
series1.displayname "Text here"
What if I wanted to use the series description or the description from another series ?
Is there global option to display the description in the legend ?
And is something like this possible
series1.displayname "Ratio of" + series2a@description + " and " + series2b@description
series1.displayname "Text here"
What if I wanted to use the series description or the description from another series ?
Is there global option to display the description in the legend ?
And is something like this possible
series1.displayname "Ratio of" + series2a@description + " and " + series2b@description
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13307
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Program Legend text
You'd have to build up a string containing the exact text you wanted to use as the displayname, then apply that.
Code: Select all
%dispstring = "Ratio of" + series2a.@description + " and " + series2b.@description
series1.displayname {%dispstring}
Follow us on Twitter @IHSEViews
Return to “General Information and Tips and Tricks”
Who is online
Users browsing this forum: No registered users and 12 guests