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 |
Jeph Herrin <stata@spandrel.net> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: incorporate table into figure |

Date |
Tue, 24 Aug 2010 11:06:34 -0400 |

My last post on this was so fruitful, I am trying another - in this case I need to add a table on the left, so http://jama.ama-assn.org/cgi/content/full/301/14/1439/JOC90023F3 is there some helpful option or table type I am overlooking? I know that the previous advice about merging a graph with a table inside a Word document (for example) will apply, just wondering if there is a more direct way as I may have to revise this figure many many times. thanks, Jeph On 8/23/2010 9:44 PM, Jeph Herrin wrote:

I would like to incorporate a very simply (4x2) table into a figure. I would like the 4 columns to line up with the four ticks on the x-axis, but appearing below the axis. The row labels thus need to be in the left margin. In particular, I need to reproduce a figure such as one of these http://jama.ama-assn.org/cgi/content/full/301/14/1439/JOC90023F2 and the issue is lining up the numbers across the bottom. I have tried to set it up as a -caption()- with two strings, but have two problems. First, I cannot persuade the caption to be aligned with the left side of the graph; -span- only aligns with the left edge of the y-axis lable, whereas I have set the margin to be extra wide with -graphreg(m())-. Second, there seems to be no way other than experiment to align the 4 columns with 4 ticks on the x-axis. In the graph editor there is a "position offset" for the caption box which I can set to <0 to achieve what I want, but I cannot find any corresponding textbox_option. Jeph * * 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: incorporate table into figure***From:*"Trelle Sven" <strelle@ctu.unibe.ch>

**References**:**st: incorporate table into figure***From:*Jeph Herrin <stata@spandrel.net>

- Prev by Date:
**st: RE: AW: RE: AW: Categorising dates** - Next by Date:
**Re: st: stratification and model checking after imputation** - Previous by thread:
**st: RE: incorporate table into figure** - Next by thread:
**RE: st: incorporate table into figure** - Index(es):