grid.plot(draw);
// for all the plots of this canvas
for (int i = 0; i < plots.size(); i++) {
Plot currentPlot = getPlot(i);
currentPlot.plot(draw);
//if (currentPlot instanceof scalaSci.math.plot.plots.contourPlot) return;
//if (linkedLegendPanel != null)
// linkedLegendPanel.nonote(i); // SOS-Sterg: uncommenting this causes a problem when GSci is called from Java
}