/** Refresh the coordinates x[][] is the wrapped coordinates `n' may be less than x.length */ public void refresh(double x[][], int n, boolean center, boolean adjScale) { if (model == null) { model = new XYZModel(); adjScale = true; } model.updateXYZ(x, n, center); if (adjScale) realSpan = model.getSpan(x, n); repaint(); }