📄 graph_describe.hlp
字号:
{smcl}
{* 03feb2005}{...}
{cmd:help graph describe} {right:dialog: {bf:{dialog graph_describe:graph describe}}}
{hline}
{* graph describe tt}{...}
{* index gph files, describing contents}{...}
{* index memory graphs, describing contents}{...}
{* graphs, describing contents}{...}
{title:Title}
{p2colset 5 27 29 2}{...}
{p2col :{hi:[G] graph describe} {hline 2}}Describe contents of graph in memory or on disk{p_end}
{p2colreset}{...}
{title:Syntax}
{p 8 23 2}
{cmdab:gr:aph}
{cmdab:des:cribe}
[{it:name}]
{it:name}{col 30}description
{hline 45}
{it:simplename}{...}
{col 30}name of graph in memory
{it:filename}{cmd:.gph}{...}
{col 30}name of graph on disk
{cmd:"}{it:filename}{cmd:"}{...}
{col 30}name of graph on disk
{hline 45}
{pstd}
If {it:name} is not specified, the graph currently displayed in the Graph
window is described.
{title:Description}
{pstd}
{cmd:graph} {cmd:describe} describes the contents of a graph in memory
or a graph stored on disk.
{title:Remarks}
{pstd}
See {help graph manipulation} for an introduction to the graph
manipulation commands.
{pstd}
{cmd:graph} {cmd:describe} describes the contents of a graph, which
may be stored in memory or on disk. Without arguments, the graph stored
in memory named {cmd:Graph} is described:
{cmd:. scatter mpg weight}
{cmd}. graph describe
{txt}{title:Graph stored {txt}in memory{txt}}
{p 16 15}
name:
{res}Graph
{p_end}
{txt}{p 14 15}
format:
{res}live
{p_end}
{txt}{p 13 15}
created:
{res}9 Nov 2002 14:26:12
{p_end}
{txt}{p 14 15}
scheme:
{res}default
{p_end}
{txt}{p 16 15}
size:
{res}4 {txt:{it:x}} 5.5
{p_end}
{txt}{p 12 15}
dta file:
{res}auto.dta
{txt}dated
{res}3 Oct 2002 13:53
{p_end}
{txt}{p 13 15}
command:
{res}twoway scatter mpg weight{txt}
{p_end}
{pstd}
In the above, note that the size is reported as {it:ysize} {it:x} {it:xsize},
not the other way around.
{pstd}
When you type a name ending in {cmd:.gph}, the disk file is described:
{cmd:. graph save myfile}
{cmd:. graph describe myfile.gph}
{txt}{title:myfile.gph stored {txt}on disk{txt}}
{p 16 15}
name:
{res}myfile.gph
{p_end}
{txt}{p 14 15}
format:
{res}live
{p_end}
{txt}{p 13 15}
created:
{res}9 Nov 2002 14:26:12
{p_end}
{txt}{p 14 15}
scheme:
{res}default
{p_end}
{txt}{p 16 15}
size:
{res}4 {txt:{it:x}} 5.5
{p_end}
{txt}{p 12 15}
dta file:
{res}auto.dta
{txt}dated
{res}3 Oct 2002 13:53
{p_end}
{txt}{p 13 15}
command:
{res}twoway scatter mpg weight
{p_end}
{txt}
{pstd}
If the file is saved in {cmd:asis} format{hline 2}see
{help gph files}{hline 2}only the name and format are listed:
{cmd:. graph save picture, asis}
{cmd:. graph describe picture.gph}
{txt}{title:picture.gph stored {txt}on disk{txt}}
{p 16 15}
name:
{res}picture.gph
{p_end}
{txt}{p 14 15}
format:
{res}old{txt}
{p_end}
{title:Saved results}
{pstd}
Returned in {cmd:r()} is
macro {cmd:r(fn)} {it:filename} or {it:filename}{cmd:.gph}
macro {cmd:r(ft)} "{cmd:old}", "{cmd:asis}", or "{cmd:live}"
{pstd}
and, if {cmd:r(ft)}=="{cmd:live}",
macro {cmd:r(command)} command
macro {cmd:r(command_date)} date on which command was run
macro {cmd:r(command_time)} time at which command was run
macro {cmd:r(scheme)} scheme name
macro {cmd:r(ysize)} {cmd:ysize()} value
macro {cmd:r(xsize)} {cmd:xsize()} value
macro {cmd:r(dtafile)} .dta file in memory at command_time
macro {cmd:r(dtafile_date)} .dta file date
{pstd}
Note that any of {cmd:r(command)}, ..., {cmd:r(dtafile_date)}
may be undefined, so refer to contents using macro quoting.
{title:Also see}
{psee}
Manual: {bf:[G] graph describe}
{psee}
Online:
{help graph manipulation};
{helpb graph dir}
{p_end}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -