コード例 #1
0
 /**
  * Sets one of the histogram plot points
  *
  * @param index the point position
  * @param newPlotPoint the new point positions in the plot reference system
  */
 public void setPlotPoint(int index, GPoint newPlotPoint) {
   plotPoints.set(index, newPlotPoint);
   updateArrays();
 }
コード例 #2
0
 /**
  * Sets the histogram plot points
  *
  * @param newPlotPoints the new point positions in the plot reference system
  */
 public void setPlotPoints(GPointsArray newPlotPoints) {
   plotPoints.set(newPlotPoints);
   initializeArrays(plotPoints.getNPoints());
   updateArrays();
 }