Announcement

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

  • constructing a graph sequentially? (many post-hoc edits)

    Multiple graphs can be overlayed using "||" ,e.g.
    scatter y x || rarea hi1 lo1 x1 || rarea hi2 lo2 x2

    I would like to construct a very complicated graph with many overlays "||". Is it possible to construct such graph sequentially?
    I.e. I would like to create the graph
    scatter y x
    and then at a later time add overlaying graphs:
    [edit existing graph]
    || rarea hi1 lo1 x1

    I prefer constructing the graph sequentially because hi1, lo1 ,and x1 are temporary variables. I could keep them around until the full plot can be constructed simultaneously, but the programming is awkward and I 'd prefer not to.

    I am using Stata Version 14.2
    Any thoughts appreciated.
Working...
X