Esempio n. 1
0
 /**
  * Adds a new plot points to the histogram
  *
  * @param newPlotPoints the new points positions in the plot reference system
  */
 public void addPlotPoints(GPointsArray newPlotPoints) {
   plotPoints.add(newPlotPoints);
   initializeArrays(plotPoints.getNPoints());
   updateArrays();
 }
Esempio n. 2
0
 /**
  * Adds a new plot point to the histogram
  *
  * @param index the position to add the point
  * @param newPlotPoint the new point position in the plot reference system
  */
 public void addPlotPoint(int index, GPoint newPlotPoint) {
   plotPoints.add(index, newPlotPoint);
   initializeArrays(plotPoints.getNPoints());
   updateArrays();
 }