Hi Folks,
Is there a code that allows to export graphs directly into an existing or new excel file? If not, how to export saved graphs as jpg or alike?
So far I've only managed to save plots as follows:
graph dm_cpi.line(o=spartan,ab=b) cpi_dm_forecast_li2 cpi_dm_0 cpi_dm
thanks for your help in advance :D
exporting graphs to excel or save as jpg
Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13585
- Joined: Tue Sep 16, 2008 5:38 pm
Re: exporting graphs to excel or save as jpg
Look up graph.save in the object reference.
-
tobi_mueller
- Posts: 9
- Joined: Mon Sep 17, 2012 2:37 am
Re: exporting graphs to excel or save as jpg
Thanks Gareth!!!
The following code worked for me:
graph_name.save "path\name of graph.jpg"
E.g.
global_cpi.save "Q:\GLOBAL-TEAM\07_Analysts\Tobi_Müller\Projects\Global Inflation Forecasting\Results\Global CPI.jpg"
The following code worked for me:
graph_name.save "path\name of graph.jpg"
E.g.
global_cpi.save "Q:\GLOBAL-TEAM\07_Analysts\Tobi_Müller\Projects\Global Inflation Forecasting\Results\Global CPI.jpg"
Who is online
Users browsing this forum: No registered users and 2 guests
