Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: RE: Graph back to data


From   Nick Cox <[email protected]>
To   "[email protected]" <[email protected]>
Subject   Re: st: RE: Graph back to data
Date   Fri, 20 Dec 2013 12:37:46 +0000

The advice to look at sersets is clearly good, but Chamara did not
describe precisely what kind of graph and exactly what was meant by
data. For example, if you try what Scott recommends with a histogram,
you retrieve the information needed to draw that histogram, but not
the raw data.

Nick
[email protected]


On 20 December 2013 12:19, Scott Merryman <[email protected]> wrote:
> Yes, you can extract the data from a graph using -serset use-
>
> For example:
>
> . sysuse auto
> (1978 Automobile Data)
>
> . scatter price weight
>
> . graph save Graph "C:\Users\Scott\Desktop\Graph.gph", replace
> (file C:\Users\Scott\Desktop\Graph.gph saved)
>
> . clear
>
> . graph use Graph
>
> . serset dir
>
>   0.  74 observations on 2 variables
>       price weight
>
> . serset use
>
> . sum
>
>     Variable |       Obs        Mean    Std. Dev.       Min        Max
> -------------+--------------------------------------------------------
>        price |        74    6165.257    2949.496       3291      15906
>       weight |        74    3019.459    777.1936       1760       4840
>
>
> Scott
>
>
>
> On Fri, Dec 20, 2013 at 3:03 AM, MacLennan, Graeme
> <[email protected]> wrote:
>> I have used this software available before
>>
>> http://digitizer.sourceforge.net/
>>
>> It is free and easy to use.
>> HTH.
>> Graeme.
>>
>> Graeme MacLennan
>> Senior Statistician
>> Health Services Research Unit
>> Health Sciences Building
>> University of Aberdeen
>>
>>
>> -----Original Message-----
>> From: [email protected] [mailto:[email protected]] On Behalf Of chamara Anuranga
>> Sent: 20 December 2013 04:49
>> To: [email protected]
>> Subject: st: Graph back to data
>>
>> Hi,
>>
>> I have Stata graph (gph format) but I do not have the data. Would it possible me to get back the data which used for the graph?
>>
>> Thanks,
>> Chamara
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/faqs/resources/statalist-faq/
> *   http://www.ats.ucla.edu/stat/stata/
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index