Hi,
You can probably paste the syntax that the graph command generates into a syntax window and fiddle with it for a week. The grammar of graphics can probably handle it, somehow.. It depends on how you generated the graph, however.
But, personally I think I would cheat and simply load the graph into adobe acrobat or something similar, and edit it.
Use R? Sure, it is quite possible to do that in R, but you would a) generate the graph, b) write commands to put the text where you want it inside the graph (sort of easy, but lots of fiddling with getting it placed in the correct place) c) ensure that it is sufficient space in the plot area to put your table d) find out how to add the table (or write it cell by cell) e) watch the whole thing get formatted slighly inappropriately when you export it. It is probably simpler to use simple plot commands rather than ggplot2 although somebody has written a geom_table command for ggplot. I have not tried that, though, but if it works it would change the graph placement issue. So if I did not want to waste a lot of time figuring out how to do it in R, I would probably go the same way in R as with SPSS: produce the bare bones plot, then edit it.
I guess your reviewers are not big fans of Tufte.
Best,
Jon
------------------------------
Jon Pedersen
------------------------------
Original Message:
Sent: Thu May 08, 2025 09:30 AM
From: Meni Berger
Subject: Survival chart special features
Hello Group,
Review members rejected my SPSS 'standard' survival chart, and it does not appear satisfactory and could be improved.
They advised me to redo it with R so it will look something like this:

Does anyone know if SPSS can add the N at risk table at the bottom and the text in the chart with p., CI, and other details?
Thanks!