Announcement

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

  • Creating a custom atrisk table for a survival graph

    Hi all,

    I want to create an atrisk table in a seperate graph, which i can then combine with a standard sts graph.

    I want to control the size of the legend, at risk table a little more than you can in a normal graph.

    something like
    Code:
    sts graph, name(my_km, replace)
    
    myatrisk , at(0(2)20) name(my_atrisk, replace)
    
    graph combine my_km my_atrisk , xcommon
    The problem is when i do this the axes don't line up properly.


    It looks like there is space being reserved for title, scales and ticks etc.

    i have been creating myatrisk using scatteri.

    I have also been looking at fxsize() options as described in graph combine, but still cant make it work.

    Does anyone have any good ideas?
Working...
X