In the following little script I've created a box plot using the Graph Builder, and then listed all the properties of the object I've just created:
dt = open("$SAMPLE_DATA/Big Class.jmp");
dtg = Graph Builder(
Show Control Panel( 0 ),
Variables( X( dt:sex ), Y( dt:height ) ),
Elements( Box Plot( X, Y, Outliers( 1 ), Box Style( "Outlier" ) ) )
);
show properties(dtg);
Now - suppose later in the script I wanted to change the box style from "Outlier" to one of the other three available options ("Quantile", "Solid" or "Thin"). I see that among the properties of dtg there's one called "Elements", which is presumably the one I need to access - but I don't know how to change one of its settings. My first guess would be something like "dtg << elements(Box Style(Box Plot("Solid"))), but that doesn't work. Can something like that be done, and if so, how?
Many thanks