Announcement

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

  • xtgraph

    Good morning,

    I use this command. I would like to ask you how can I chiange the colours of the lines and bar of standard error? Which are the options?

    xtgraph gsh, group(GRUPPO) av(mean) bar(se) t1("Mean, SE") lineopts(xla(1(1)3))

    Thanks!


  • #2
    With a user written procedure, all of the Stata options may not work, but you might look at changing the default colors before running xtgraph. The documentation says:

    Control of version 8+ graphics is available through the options lineopts , bartype,
    and baropts. Any graphics options contained in lineopts() is used as an option
    or set of options for the line portion of the graph drawing. See @graph twoway
    line). Similarly, graphics options for the bars are given by baropts. See graph twoway bar@.

    bartype() sets the type of bar used. The default is rcap. Other possibilities include: rarea,
    rbar, rcapsym, rconnected. See twoway rcap, twoway rarea, twoway rbar,
    twoway rcapsym, twoway ronnected.


    lineopts and bartype and baropts might fix your problem.

    Comment

    Working...
    X