offScreenPlot.setColoringIndex(tempC);
}
// render
java.awt.Graphics g = osi.getGraphics();
offScreenPlot.paintComponent(g);
// wait a little while so that the calculation thread can complete
Thread.sleep(2000);
offScreenPlot.paintComponent(g);
// offScreenPlot.setAttribute(attIndex);