Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Twoway subtitle options using -by-

    How to adjust text options for subtitles in a simple twoway plot using -by- ?

    Code:
    sysuse auto, clear
    tw scatter mpg disp, by(foreign, title("Not here", size(4)))
    tw scatter mpg disp, by(foreign, subtitle("Or here", size(4)))
    Various options using title/subtitle/subtitle1/subtitle2 in the -by- and outside....have failed. Surely it's right there!
    __________________________________________________ __
    Assistant Professor, Department of Biostatistics and Epidemiology
    School of Public Health and Health Sciences
    University of Massachusetts- Amherst

  • #2
    Code:
    tw scatter mpg disp, by(foreign) subtitle(, size(4))
    The sub titles are defined by your value labels.

    Comment


    • #3
      Thanks Andrew!
      __________________________________________________ __
      Assistant Professor, Department of Biostatistics and Epidemiology
      School of Public Health and Health Sciences
      University of Massachusetts- Amherst

      Comment

      Working...
      X