Please, can anyone add some insight on how to tie the created legend below to the graph? This works just fine when the legend is added interactively, (selecting an age in the legend selects the rows in the table and highlights on the graph.)
When I run your script under JMP 8.0.1 on Windows XP I see the behavior you are looking for. When I click one of the levels in the legend the associated rows are selected in the table and are highlighted in the graph.
What version are you using and on what hardware platform?
The puzzle is that for me on Win XP, v. 8.02, when the legend is added interactively by right clicking on the scatterplot and adding the legend it is linked and clicking on the legend highlights the desired records.
However, when building the graph by running the script, the clicking on the legend brings no joy, that is, the points are not highlighted/selected.