We're often save graphs as scripts for later use. All works nicely until the graph involves data exclusion. For instance, we want to graph the recovery of patients who (1) received a vaccine vs. (2) those who didn't. The two graphs are identical – same variables, axis, labels, and style – except that (1) excludes the (binary) "no vaccine" condition and the (2) excludes the "vaccine" condition.
We understand that the graph updates itself whenever data exclusions are changed, (this is a feature, not a bug). Is there a way to save the data exclusions in the graph's script, so that whenever running the script, we'll see a result based on data exclusions when the graph was created?