Announcement

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

  • Horizontal -eclplot- (SSC) and y-scale options?

    Hi all,

    I am trying to get a horizontal -eclplot- (SSC) to parse y-scale options to minimize the height of the plot - ideas?

    Code:
    sysuse auto, clear
    tabulate rep78, gene(rep78_)
    parmby "regress mpg rep78_*, noconst", by(foreign) label norestore
    sencode label if parm!="_cons", gene(parmlab)
    lab var estimate "Mean mileage (mpg)"
    keep in 1
    eclplot estimate min95 max95 parmlab, eplot(bar) hori estopts(barwidth(0.25)) ///
     xscale(range(0 6)) xlabel(1(5)30, angle(30)) xscale(range(0 1)) yscale(range(0 1))
    exit
    I'd like to shrink the height to fit a single plot nicely- thanks!
    __________________________________________________ __
    Assistant Professor, Department of Biostatistics and Epidemiology
    School of Public Health and Health Sciences
    University of Massachusetts- Amherst

  • #2
    Look at options aspect() xsize() ysize()

    Comment


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

      Comment

      Working...
      X