[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

From |
Venable <venablito@gmail.com> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
st: Automating wrapping of text in graphs? |

Date |
Fri, 5 Oct 2007 12:39:54 -0400 |

Hi all, Is it possible to automate the wrapping of text in Stata graphics? I am familiar with the trick of breaking blocks of text up manually using separate double-quotes, e.g. note("Comment #1" "Comment #2", span) will put Comment 1 on the first line and comment 2 on a second line. However, I often include macros in my notes, e.g. note("Notes: Sample: `sample_note'; Years: `sample_years_note'; Regression weighted by `weights_note'", span) so the length of individual lines will vary, which can lead to poor results from the above manual technique. (Along the same lines, is it possible to justify text at the left and right margins?) Any suggestions? I apologize if this is obvious or has been covered before -- I searched "wrap", "wrapping text" and similar things and did not find a solution. Thanks in advance. * * 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/

**Follow-Ups**:**st: RE: Automating wrapping of text in graphs?***From:*"Nick Cox" <n.j.cox@durham.ac.uk>

- Prev by Date:
**st: RE: Automating wrapping of text in graphs?** - Next by Date:
**st: Simple tab needed but multiple records** - Previous by thread:
**st: Graphing a string variable** - Next by thread:
**st: RE: Automating wrapping of text in graphs?** - Index(es):

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