Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: RE: added graph feature: solution??


From   Fred Wolfe <fwolfe@arthritis-research.org>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: RE: added graph feature: solution??
Date   Tue, 03 Aug 2004 19:48:02 -0500

Thanks, Nick.

In addition to r(command), -return list- provides additional information about the graph.


. gs_fileinfo rtomeancl.gph

. return list

scalars:
r(cversion) = 2
r(fversion) = 2

macros:
r(ysize) : "2"
r(xsize) : "3"
r(scheme) : "vg_s2m"
r(dtafile_date) : "7 Feb 2004 08:01"
r(dtafile) : "c:/statdata/pdox232h/raoafib.dta"
r(command_time) : "12:28:50"
r(command_date) : "2 Jul 2004"
r(command) : "twoway lfitci haqdif haq_, sort ciplot(rline) blcolor(black) blpattern(dash) clwidth(thick) ylabel(,
> grid glcolor(gs8) nogmin) xlabel(0[.25]3,grid glcolor(gs8) nogmin) scheme(vg_s2m) ytitle(Change in HAQ) title(Regression to
> the mean: clinic data) xtitle(HAQ Disability Index Score) legend(off) saving(rtomeancl,replace)"
r(family) : "twoway"
r(ft) : "live"
r(fn) : "rtomeancl.gph"

Fred


At 12:30 PM 8/3/2004, you wrote:

I should read my own postings more
carefully.

A few days ago, I pointed someone to
the -undocumented- options in this area.
Following that lead,

. gs_fileinfo <whatever>.gph

returns this information in r(command)
etc.

Nick
n.j.cox@durham.ac.uk

> -----Original Message-----
> From: owner-statalist@hsphsun2.harvard.edu
> [mailto:owner-statalist@hsphsun2.harvard.edu]On Behalf Of Fred Wolfe
> Sent: 03 August 2004 18:06
> To: statalist@hsphsun2.harvard.edu
> Subject: st: added graph feature: solution??
>
>
> I opened the graph in text pad and found this:
>
> StataFileTM:00001:01000:LiveGPH:                       :
> 00002:00002:
> *! classname: twowaygraph_g
> *! family: twoway
> *! command: twoway lfitci haqdif haq_, sort ciplot(rline)
> blcolor(black)
> blpattern(dash) clwidth(thick) ylabel(,grid glcolor(gs8) nogmin)
> xlabel(0[.25]3,grid glcolor(gs8) nogmin) scheme(vg_s2m)
> ytitle(Change in
> HAQ) title(Regression to the mean: clinic data) xtitle(HAQ
> Disability Index
> Score) legend(off) saving(rtomeancl,replace)
> *! command_date:  2 Jul 2004
> *! command_time: 12:28:50
> *! datafile: c:/statdata/pdox232h/raoafib.dta
> *! datafile_date:  7 Feb 2004 08:01
> *! scheme: vg_s2m
> *! naturallywhite: 1
> *! xsize: 3
> *! ysize: 2
> *! end
>
> That is what I wanted. Question: is there a way to extract
> this information
> with a command?
>

National Data Bank for Rheumatic Diseases
Wichita, Kansas
Tel (316) 263-2125     Fax (316) 263-0761
fwolfe@arthritis-research.org


*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index