示例#1
0
文件: LJ3MDApp.java 项目: eskilj/mvp
 /** 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();
 }