}
void setupScrollFrame() {
assert plot.getPlotView() !=null : "Plot Object not initalized";
TimeAxisSubsequentBoundsSetting mode2 = plot.getTimeAxisSubsequentSetting();
plot.timeScrollModeByPlotSettings = mode2;
plot.setTimeAxisSubsequentSetting(mode2);
// set the Y (non time) scroll mode.
boolean nonTimeMinFixed = plot.getNonTimeAxisSubsequentMinSetting() != NonTimeAxisSubsequentBoundsSetting.AUTO;