Object Reference : Object View and Procedure Reference : Graph
  
 
save
Save a graph object to disk as a Windows metafile (.EMF or .WMF), PostScript (.EPS), bitmap (.BMP), Graphics Interchange Format (.GIF), Joint Photographic Experts Exchange (.JPEG), Portable Network Graphics (.PNG), Portable Document Format (.PDF) file, or LaTeX (.TEX) file.
Syntax
graph_name.save(options) [path\]file_name
Follow the keyword with a name for the file. file_name may include the file type extension, or the file type may be specified using the “t=” option. A graph may be saved with an EMF, WMF, EPS, BMP, GIF, JPG, PNG, or PDF extension.
If an explicit path is not specified, the file will be stored in the default directory, as set in the File Locations global options.
Graph Options
 
t=file_type
Specifies the file type, where file_type may be one of: Enhanced Windows metafile (“emf” or “meta”), ordinary Windows metafile (“wmf”), Encapsulated PostScript (“eps” or “ps”), Bitmap file (“bmp”), Graphics Interchange Format (“gif”), Joint Photographic Experts Exchange (“jpeg” or “jpg”), Portable Network Graphics (“png”), Portable Document File (“pdf”), or LaTeX file (“tex”).
Files will be saved with the “.emf”, “.wmf”, “.eps”, “.bmp”, “.gif”, “.jpeg”, “.png”, or “pdf” extensions, respectively.
u=units
Specify units of measurement, where units is one of: “in” (inches), “cm” (centimeters), “pt” (points), “pica” (picas), “pixels” (pixels). Note: pixels are only applicable to bmp, gif, jpeg, and png files. Default is inches otherwise.
w=width
Set width of the graphic in the selected units.
h=height
Set height of the graphic in the selected units.
c / -c
[Save / Do not save] the graph in color.
trans / -trans
[Set / Do not set] background to transparent (for graph formats which support transparency).
d = dpi
Specify the number of dots per inch. Only applicable to bmp, gif, jpeg, and png files when units has not been set to pixels. In the case units = “pixels”, it is ignored.
Note that if only a width or a height option is specified, EViews will calculate the other dimension holding the aspect ratio of the graph constant. If both width and height are provided, the aspect ratio will no longer be locked. (Note that the aspect ratio for an ordinary Windows Metafile (.WMF) cannot be unlocked, so only a height or width should be specified in this case.) EViews will default to the current graph dimensions if size is unspecified.
All defaults with exception to dots per inch are taken from the global graph export settings (Options/Graphics Defaults.../Exporting). The default dots per inch for bmp, gif, jpeg, and png file types is equal to the number of pixels per logical inch along the screen width of your system. Values may therefore differ from system to system.
Postscript Options
 
box / -box
[Save / Do not save] the graph with a bounding box. The bounding box is an invisible rectangle placed around the graphic to indicate its boundaries. The default is taken from the global graph export settings.
land
Save the graph in landscape orientation. The default uses portrait mode.
prompt
Force the dialog to appear from within a program.
LaTeX Options