Page 1 of 1

How to save a graph to use as a template

Posted: Mon Nov 26, 2012 12:10 am
by jtfly08
I am using Eviews 6.0. I created a graph with shaded recession periods. I want to save it as a template so that I can use it repeatedly. When I click the "Manage Predefined Template List", the "Template Management" window jump out. However, it seems I cannot do anything with this window because the "Add" option is disabled...What did I do wrong? Thanks!

Re: How to save a graph to use as a template

Posted: Mon Nov 26, 2012 8:48 am
by EViews Gareth
You have to name your graph before you can use it as a template.

Re: How to save a graph to use as a template

Posted: Tue Nov 27, 2012 2:36 am
by jtfly08
Yes, I get it. Thank you very much!

Re: How to save a graph to use as a template

Posted: Tue Mar 12, 2019 3:01 am
by binhpham79
Hi Gareth,

I wonder how to create a graph template by code.

Is it any named frozen graph can be used as a template? Because I see an option in dialog box but I do not find specific commands or relevant options in graph object methods.

Many thanks,

Re: How to save a graph to use as a template

Posted: Tue Mar 12, 2019 9:36 am
by EViews Jason
There is currently no way to create/save a template by code. It must be done by the user interface. We will look into adding the feature to EViews 11

Re: How to save a graph to use as a template

Posted: Tue Mar 12, 2019 4:37 pm
by binhpham79
Many thanks. Hope to see this feature since it helps us when create irf plots from matrix. Applying a template saves a lot of codes.

Re: How to save a graph to use as a template

Posted: Wed Feb 08, 2023 8:06 am
by BT454
Tangentially related to this question:
Is it possible to apply a template to a graph programmatically?
Thanks!

Re: How to save a graph to use as a template

Posted: Wed Feb 08, 2023 10:13 am
by EViews Gareth
Yes

Re: How to save a graph to use as a template

Posted: Wed Feb 08, 2023 11:31 am
by BT454
Thanks, I was looking through the programming guide and couldn't seem to find it. Could you please provide an example, or incorporate into the text below?

Code: Select all

graph mgrus_0.line g_us_0
where g_us_0 is a group.

Thanks!

Re: How to save a graph to use as a template

Posted: Wed Feb 08, 2023 2:13 pm
by EViews Gareth