I have a few scripts that I use that were created from charts. Often these charts have data that JMP separates into levels although for my purposes, they are effectively the same. For example the following code is for a chart of mean exclusion rates across sites.
Chart(
X(:IDENT Code),
Y(Mean(:Exclusion Rate)),
Add Error Bars to Mean(Name("Confidence Interval (pooled)")(0.95)),
Overlay Axis << {{Format("Fixed Dec", 12, 3), Min(0.935), Max(0.9975),
Inc(0.005), Minor Ticks(1)}},
Overlay Stack Axis << {{Format("Fixed Dec", 12, 0), Min(-1.5), Max(8.5), Inc(1),
Minor Ticks(1)}},
Level[1] << {Colors(-4221340), Markers(29)},
Level[2] << {Colors(-4221340), Markers(29)},
Level[3] << {Colors(-4221340), Markers(29)},
Level[4] << {Colors(-4221340), Markers(29)},
Level[5] << {Colors(-4221340), Markers(29)},
Level[6] << {Colors(-4221340), Markers(29)},
Level[7] << {Colors(-4221340), Markers(29)},
Y[1] << Point Chart(1),
SendToReport(
Dispatch({}, "102", ScaleBox, {Format("Percent", 6, 0), Show Major Grid(1)}),
Dispatch({}, "", AxisBox(2), {Add Axis Label("Mean(Exclusion Rate)")}),
Dispatch({}, "Mean(Exclusion Rate)", TextEditBox, {Set Font Size(20)}),
Dispatch(
{},
"Chart Graph",
FrameBox,
{Frame Size(704, 536), Marker Size(6)}
)
)
)
When the script was created for the previous report, there were seven sites, but now there are ten, so the last three plots use default settings. Is there a way to set these levels globally instead of individually for times like this when the number of levels have changed?