Notice: On March 31, it was **announced** that Statalist is moving from an email list to a **forum**. The old list will shut down at the end of May, and its replacement, **statalist.org** is already up and running.

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

From |
Randy Kesselring <RANDYK@astate.edu> |

To |
"statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu> |

Subject |
RE: st: attaching text and tables to graphs |

Date |
Thu, 9 Jun 2011 22:43:19 -0500 |

Cheng Hao, Please don't buy any camping equipment until you look over what we have. An 8' X 10' tent is very large. I think I have one that will work better. You can look over what we have and if you decide you want something else, you can buy it then. Tables are good! Believe me, you don't have too many tables in your paper. I hope you are still intending to move. Don't worry about furniture. We will get you all that you need for little or no money. I don't think the move will be a problem. Have a good weekend and don't worry about your paper. I will be back on Monday. I'm studying logarithms tonight. ________________________________________ From: owner-statalist@hsphsun2.harvard.edu [owner-statalist@hsphsun2.harvard.edu] On Behalf Of Richard Mc Gee [dr.richardmcgee@gmail.com] Sent: Thursday, June 09, 2011 5:06 PM To: statalist@hsphsun2.harvard.edu Subject: RE: st: attaching text and tables to graphs Thank you so much Eric, that's exactly what I wanted to do. Best wishes, Richard -----Original Message----- From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Eric Booth Sent: Friday, 10 June 2011 12:08 AM To: <statalist@hsphsun2.harvard.edu> Subject: Re: st: attaching text and tables to graphs <> The | divider in the table was bothering me so, here it is after playing with it a bit more--this time using the 'caption' option to build the second column of values. ************* sysuse auto, clear forval n = 1/20 { loc sidetable `" `sidetable' " `=make[`n']' " "' } di `"`sidetable'"' forval n = 1/20 { loc sidecap `" `sidecap' " $`=price[`n']'" "' } di `"`sidetable'"' graph bar (mean) headroom price, /// blabel(bar) note("{bf: MAKE }" /// "-----------------" `sidetable' /// , size(medsmall) color(green) /// position(2) margin(small) /// justification(left)) /// caption(" {bf: Price }" /// "---------" `sidecap' /// , size(medsmall) color(midgreen) /// position(2) margin(vsmall) /// justification(right)) ************* Anyways, you probably get the point. - Eric __ Eric A. Booth Public Policy Research Institute Texas A&M University ebooth@ppri.tamu.edu On Jun 9, 2011, at 8:39 AM, Eric Booth wrote: > <> > > BTW, you can use a loop to build your 'note' with some data from you > dataset more quickly, e.g., > > ************* > sysuse auto, clear > > forval n = 1/15 { > loc sidetable `" `sidetable' " `=make[`n']' | `=price[`n']'" "' > } > di `"`sidetable'"' > > graph bar (mean) headroom price, /// > blabel(bar) note("{bf: MAKE |Price}" /// > "---------------------------" `sidetable' /// > , size(medsmall) color(green) /// > position(2) margin(small) /// > justification(right)) > *********** > - Eric > __ > Eric A. Booth > Public Policy Research Institute > Texas A&M University > ebooth@ppri.tamu.edu > > On Jun 9, 2011, at 8:17 AM, Eric Booth wrote: > >> <> >> >> Something like this? >> ******** >> sysuse auto, clear >> >> graph bar (mean) headroom price, /// >> blabel(bar) note("{bf: MY DATA}" /// >> "---------------" "1: `=make[1]'" /// >> "2: `=make[2]'" "3: `=make[3]'" "4: `=make[4]'" /// >> "5: `=make[5]'" "6: `=make[6]'" "7: `=make[7]'" /// >> "8: `=make[8]'" "9: `=make[9]'" "10: `=make[10]'" /// >> "Other: `=make[11]'", size(medium) color(green) /// >> position(2) margin(medsmall) /// >> justification(left)) >> >> ******** >> >> Also, take a look at this thread for other ideas: >> http://www.stata.com/statalist/archive/2010-08/msg01131.html >> >> - Eric >> __ >> Eric A. Booth >> Public Policy Research Institute >> Texas A&M University >> ebooth@ppri.tamu.edu >> >> >> On Jun 8, 2011, at 11:24 PM, Richard Mc Gee wrote: >> >>> Dear Statalist, I would like to attach a table/column of text to the >>> right hand side of a graph and was wondering if you had any >>> suggestions on how to achieve this? I already have information on >>> yaxis 1 & 2 and would prefer not to move these i.e. I would like to >>> have this information in addition to the graph. 'Graph combine' >>> isn't quite right either. >>> Thanks for your help, >>> Richard McGee > > * * 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/ * * 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/ * * 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/

**Follow-Ups**:**Re: st: attaching text and tables to graphs***From:*Clive Nicholas <clivelists@googlemail.com>

**References**:**st: attaching text and tables to graphs***From:*Richard Mc Gee <dr.richardmcgee@gmail.com>

**Re: st: attaching text and tables to graphs***From:*Eric Booth <ebooth@ppri.tamu.edu>

**Re: st: attaching text and tables to graphs***From:*Eric Booth <ebooth@ppri.tamu.edu>

**Re: st: attaching text and tables to graphs***From:*Eric Booth <ebooth@ppri.tamu.edu>

**RE: st: attaching text and tables to graphs***From:*"Richard Mc Gee" <dr.richardmcgee@gmail.com>

- Prev by Date:
**Re: st: logistic regression confidenceintervals** - Next by Date:
**Re: st: attaching text and tables to graphs** - Previous by thread:
**RE: st: attaching text and tables to graphs** - Next by thread:
**Re: st: attaching text and tables to graphs** - Index(es):