Thanks this is useful too.
On Tue, Feb 9, 2010 at 3:36 AM, Nick Cox <[email protected]> wrote:
> See also
>
> SJ-5-2 gr0014 . . . . . . . Stata tip 20: Generating histogram bin
> variables
> . . . . . . . . . . . . . . . . . . . . . . . . . . . . D. A.
> Harrison
> Q2/05 SJ 5(2):280--281 (no
> commands)
> tip illustrating the use of twoway__histogram_gen for
> creation of complex histograms and other graphs or tables
>
> Look at the Stata Journal website for .pdf version accessible to all.
>
> Nick
> [email protected]
>
> Scott Merryman
>
> Sorry, I assumed you had saved the graphs.
>
> If have the data you can use -twoway__histogram_gen- to obtain the
> information:
>
> . clear
>
> . sysuse sp500
> (S&P 500)
>
> . twoway__histogram_gen volume, display
> (bin=15, start=4103, width=1280.3533)
>
> . return list
>
> scalars:
> r(N) = 248
> r(bin) = 15
> r(width) = 1280.353333333333
> r(start) = 4103
> r(min) = 4103
> r(max) = 23308.3
> r(area) = 1
>
> macros:
> r(type) : "density"
>
> On Mon, Feb 8, 2010 at 9:33 PM, David Merriman <[email protected]>
> wrote:
>
>
>> I don't know where to find the *.gph file. .Can you tell me how to
>> find out what the path would be?
>
> *
> * For searches and help try:
> * http://www.stata.com/help.cgi?search
> * http://www.stata.com/support/statalist/faq
> * http://www.ats.ucla.edu/stat/stata/
>
--
David Merriman
[email protected]
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/