Codota Logo
org.jfree.data.statistics
Code IndexAdd Codota to your IDE (free)

How to use org.jfree.data.statistics

Best Java code snippets using org.jfree.data.statistics (Showing top 20 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
List l =
  • Codota Iconnew LinkedList()
  • Codota IconCollections.emptyList()
  • Codota Iconnew ArrayList()
  • Smart code suggestions by Codota
}
origin: stackoverflow.com

 HistogramDataset dataset = new HistogramDataset();
dataset.addSeries("series label",arrayOfValues,noOfBins);
origin: kiegroup/optaplanner

  datasetList.add(new DefaultBoxAndWhiskerCategoryDataset());
datasetList.get(i).add(
    distributionLevelList.get(i),
    solverLabel,
origin: stackoverflow.com

 HistogramDataset dataset = new HistogramDataset();
dataset.setType(HistogramType.RELATIVE_FREQUENCY);
dataset.addSeries("H1", double[], 20);

HistogramDataset dataset = new HistogramDataset();
double[] values = {1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0};
dataset.addSeries("H1", values, 10, 0.0, 10.0);
origin: jfree/jfreechart

/**
 * Adds a list of values relating to one box-and-whisker entity to the
 * table.  The various median values are calculated.
 *
 * @param list  a collection of values from which the various medians will
 *              be calculated.
 * @param rowKey  the row key ({@code null} not permitted).
 * @param columnKey  the column key ({@code null} not permitted).
 *
 * @see #add(BoxAndWhiskerItem, Comparable, Comparable)
 */
public void add(List list, Comparable rowKey, Comparable columnKey) {
  BoxAndWhiskerItem item = BoxAndWhiskerCalculator
      .calculateBoxAndWhiskerStatistics(list);
  add(item, rowKey, columnKey);
}
origin: jfree/jfreechart

/**
 * Adds an observation to the dataset (by incrementing the item count for
 * the appropriate bin).  A runtime exception is thrown if the value does
 * not fit into any bin.
 *
 * @param value  the value.
 */
public void addObservation(double value) {
  addObservation(value, true);
}
origin: org.codehaus.jtstand/jtstand-chart

/**
 * Returns the value for an item (for this dataset, the mean value is
 * returned).
 *
 * @param rowKey  the row key.
 * @param columnKey  the columnKey.
 *
 * @return The value (possibly <code>null</code>).
 */
public Number getValue(Comparable rowKey, Comparable columnKey) {
  return getMeanValue(rowKey, columnKey);
}
origin: jfree/jfreechart

/**
 * Returns the ending Y value for the specified series and item.
 *
 * @param series  the series index (zero-based).
 * @param item  the item index (zero-based).
 *
 * @return The value.
 */
@Override
public Number getEndY(int series, int item) {
  return getY(series, item);
}
origin: jfree/jfreechart

/**
 * Returns the mean of an array of numbers.  This is equivalent to calling
 * {@code calculateMean(values, true)}.
 *
 * @param values  the values ({@code null} not permitted).
 *
 * @return The mean.
 */
public static double calculateMean(Number[] values) {
  return calculateMean(values, true);
}
origin: org.codehaus.jtstand/jtstand-chart

/**
 * Returns the end y-value (as a double primitive) for an item within a
 * series.
 *
 * @param series  the series index (zero-based).
 * @param item  the item index (zero-based).
 *
 * @return The end y-value.
 */
public double getEndYValue(int series, int item) {
  return getYValue(series, item);
}
origin: ca.umontreal.iro/ssj

/**
* Gets the current name of the selected series.
* 
* @param series series index.
* 
*    @return current name of the series.
* 
*/
public String getName (int series)  {
 return (String)((DefaultBoxAndWhiskerCategoryDataset)seriesCollection).getColumnKey(series);
}
origin: org.codehaus.jtstand/jtstand-chart

/**
 * Adds an observation to the dataset (by incrementing the item count for
 * the appropriate bin).  A runtime exception is thrown if the value does
 * not fit into any bin.
 *
 * @param value  the value.
 */
public void addObservation(double value) {
  addObservation(value, true);
}
origin: jfree/jfreechart

/**
 * Returns the value for an item (for this dataset, the mean value is
 * returned).
 *
 * @param rowKey  the row key.
 * @param columnKey  the columnKey.
 *
 * @return The value (possibly {@code null}).
 */
@Override
public Number getValue(Comparable rowKey, Comparable columnKey) {
  return getMeanValue(rowKey, columnKey);
}
origin: jfree/jfreechart

/**
 * Returns the starting Y value for the specified series and item.
 *
 * @param series  the series index (zero-based).
 * @param item  the item index (zero-based).
 *
 * @return The value.
 */
@Override
public Number getStartY(int series, int item) {
  return getY(series, item);
}
origin: jfree/jfreechart

/**
 * Returns the mean of a collection of {@code Number} objects.
 *
 * @param values  the values ({@code null} not permitted).
 *
 * @return The mean.
 */
public static double calculateMean(Collection values) {
  return calculateMean(values, true);
}
origin: org.codehaus.jtstand/jtstand-chart

/**
 * Returns the start y-value (as a double primitive) for an item within a
 * series.
 *
 * @param series  the series index (zero-based).
 * @param item  the item index (zero-based).
 *
 * @return The start y-value.
 */
public double getStartYValue(int series, int item) {
  return getYValue(series, item);
}
origin: org.codehaus.jtstand/jtstand-chart

/**
 * Returns the starting Y value for the specified series and item.
 *
 * @param series  the series index (zero-based).
 * @param item  the item index (zero-based).
 *
 * @return The value.
 */
public Number getStartY(int series, int item) {
  return getY(series, item);
}
origin: org.codehaus.jtstand/jtstand-chart

/**
 * Returns the mean of an array of numbers.  This is equivalent to calling
 * <code>calculateMean(values, true)</code>.
 *
 * @param values  the values (<code>null</code> not permitted).
 *
 * @return The mean.
 */
public static double calculateMean(Number[] values) {
  return calculateMean(values, true);
}
origin: jfree/jfreechart

/**
 * Returns the end y-value (as a double primitive) for an item within a
 * series.
 *
 * @param series  the series index (zero-based).
 * @param item  the item index (zero-based).
 *
 * @return The end y-value.
 */
@Override
public double getEndYValue(int series, int item) {
  return getYValue(series, item);
}
origin: org.codehaus.jtstand/jtstand-chart

/**
 * Returns the ending Y value for the specified series and item.
 *
 * @param series  the series index (zero-based).
 * @param item  the item index (zero-based).
 *
 * @return The value.
 */
public Number getEndY(int series, int item) {
  return getY(series, item);
}
origin: org.codehaus.jtstand/jtstand-chart

/**
 * Returns the mean of a collection of <code>Number</code> objects.
 *
 * @param values  the values (<code>null</code> not permitted).
 *
 * @return The mean.
 */
public static double calculateMean(Collection values) {
  return calculateMean(values, true);
}
org.jfree.data.statistics

Most used classes

  • DefaultBoxAndWhiskerCategoryDataset
    A convenience class that provides a default implementation of the BoxAndWhiskerCategoryDataset inter
  • HistogramDataset
    A dataset that can be used for creating histograms.
  • SimpleHistogramBin
    A bin for the SimpleHistogramDataset.
  • SimpleHistogramDataset
    A dataset used for creating simple histograms with custom defined bins.
  • BoxAndWhiskerItem
    Represents one data item within a box-and-whisker dataset. Instances of this class are immutable.
  • Regression,
  • HistogramBin,
  • BoxAndWhiskerCalculator,
  • BoxAndWhiskerCategoryDataset,
  • BoxAndWhiskerXYDataset,
  • DefaultBoxAndWhiskerXYDataset,
  • DefaultMultiValueCategoryDataset,
  • MeanAndStandardDeviation,
  • MultiValueCategoryDataset,
  • StatisticalCategoryDataset,
  • Statistics,
  • HistogramType,
  • LogHistogramDataset
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now