void removeTimeSyncLine() {
if (timeSyncLinePlot != null) {
plot.setUserOperationLockedState(false);
XYPlotContents contents = plot.getPlotView().getContents();
contents.remove(timeSyncLinePlot);
contents.repaint(); // TODO: Only repaint the relevant portion
// plot.refreshDisplay();
timeSyncLinePlot = null;
syncTime = null;
}
}