Announcement

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

  • Changing occupancy in ci#opts

    Hi, I was wondering if you could help me to set the occupancy for the shaded CI area on my marginsplot. I have tried the following methods:

    1. The occupancies were at 100%, colours correct:
    marginsplot, ///
    recast(line) recastci(rarea) ///
    ci1opts(color("175 171 171"%50)) ///
    ci1opts(color("87 188 140"%50))
    2. The occupancies were at 100%, colours correct:
    marginsplot, ///
    recast(line) recastci(rarea) ///
    ci1opts(color("175 171 171") color(%50)) ///
    ci1opts(color("87 188 140") color(%50))
    3. The occupancies were at 50%, but the colours were incorrect (no longer specified colours, instead default):
    marginsplot, ///
    recast(line) recastci(rarea) ///
    ci1opts(color(%50) color("175 171 171")) ///
    ci1opts(color(%50) color("87 188 140"))
    Apologies if this is trivial, but I can't seem to make it work!

    Many thanks,
    Liz

  • #2
    Code:
    color("175 171 171%50")

    Comment


    • #3
      Thank you!

      Comment

      Working...
      X