- 使用 Spring Initializr 创建 Spring Boot 应用程序
- 在Spring Boot中配置Cassandra
- 在 Spring Boot 上配置 Tomcat 连接池
- 将Camel消息路由到嵌入WildFly的Artemis上
本文整理了Java中org.jfree.data.xy.XYIntervalSeries.add()
方法的一些代码示例,展示了XYIntervalSeries.add()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XYIntervalSeries.add()
方法的具体详情如下:
包路径:org.jfree.data.xy.XYIntervalSeries
类名称:XYIntervalSeries
方法名:add
[英]Adds a data item to the series and sends a SeriesChangeEvent to all registered listeners.
[中]向序列中添加数据项,并向所有注册的侦听器发送SeriesChangeEvent。
代码示例来源:origin: kiegroup/optaplanner
double yValue = levelValues[i];
series.add(timeMillisSpent, timeMillisSpent, timeMillisSpent,
yValue, (yValue > 0.0) ? 0.0 : yValue, (yValue > 0.0) ? yValue : 0.0);
代码示例来源:origin: kiegroup/optaplanner
double yValue = levelValues[i];
series.add(timeMillisSpent, timeMillisSpent, timeMillisSpent,
yValue, (yValue > 0.0) ? 0.0 : yValue, (yValue > 0.0) ? yValue : 0.0);
代码示例来源:origin: kiegroup/optaplanner
double yValue = mutationCount;
series.add(timeMillisSpent, timeMillisSpent, timeMillisSpent,
yValue, (yValue > 0.0) ? 0.0 : yValue, (yValue > 0.0) ? yValue : 0.0);
代码示例来源:origin: jfree/jfreechart
/**
* Adds a data item to the series and sends a {@link SeriesChangeEvent} to
* all registered listeners.
*
* @param x the x-value.
* @param xLow the lower bound of the x-interval.
* @param xHigh the upper bound of the x-interval.
* @param y the y-value.
* @param yLow the lower bound of the y-interval.
* @param yHigh the upper bound of the y-interval.
*/
public void add(double x, double xLow, double xHigh, double y, double yLow,
double yHigh) {
add(new XYIntervalDataItem(x, xLow, xHigh, y, yLow, yHigh), true);
}
代码示例来源:origin: org.openfuxml/ofx-wiki
double maxY = getChartValue(sbXpDataSet.toString(), "maxY", doc);
series.add(X,X-3,X+3,minY,minY,maxY);
代码示例来源:origin: bcdev/beam
private XYIntervalSeries computeAcceptableDeviationData(double lowerBound, double upperBound) {
final Function2D identityFunction = new Function2D() {
@Override
public double getValue(double x) {
return x;
}
};
final XYSeries identity = DatasetUtilities.sampleFunction2DToSeries(identityFunction, lowerBound, upperBound,
100, "1:1 line");
final XYIntervalSeries xyIntervalSeries = new XYIntervalSeries(identity.getKey());
final List<XYDataItem> items = identity.getItems();
for (XYDataItem item : items) {
final double x = item.getXValue();
final double y = item.getYValue();
if (scatterPlotModel.showAcceptableDeviation) {
final double acceptableDeviation = scatterPlotModel.acceptableDeviationInterval;
final double xOff = acceptableDeviation * x / 100;
final double yOff = acceptableDeviation * y / 100;
xyIntervalSeries.add(x, x - xOff, x + xOff, y, y - yOff, y + yOff);
} else {
xyIntervalSeries.add(x, x, x, y, y, y);
}
}
return xyIntervalSeries;
}
代码示例来源:origin: senbox-org/snap-desktop
private XYIntervalSeries computeAcceptableDeviationData(double lowerBound, double upperBound) {
final XYSeries identity = DatasetUtilities.sampleFunction2DToSeries(x -> x, lowerBound, upperBound, 100, "1:1 line");
final XYIntervalSeries xyIntervalSeries = new XYIntervalSeries(identity.getKey());
for (int i = 0; i < identity.getItemCount(); i++) {
XYDataItem item = identity.getDataItem(i);
final double x = item.getXValue();
final double y = item.getYValue();
if (scatterPlotModel.showAcceptableDeviation) {
final double acceptableDeviation = scatterPlotModel.acceptableDeviationInterval;
final double xOff = acceptableDeviation * x / 100;
final double yOff = acceptableDeviation * y / 100;
xyIntervalSeries.add(x, x - xOff, x + xOff, y, y - yOff, y + yOff);
} else {
xyIntervalSeries.add(x, x, x, y, y, y);
}
}
return xyIntervalSeries;
}
代码示例来源:origin: org.codehaus.jtstand/jtstand-ui
if (population[i] != 0) {
pop.add(midValue(i), leftValue(i), rightValue(i), population[i], prev[i], prev[i] + population[i]);
prev[i] = prev[i] + population[i];
if (population[i] != 0) {
pop.add(midValue(i), leftValue(i), rightValue(i), population[i], prev[i], prev[i] + population[i]);
prev[i] = prev[i] + population[i];
代码示例来源:origin: bcdev/beam
private XYIntervalSeries computeRegressionData(double xStart, double xEnd) {
if (scatterpointsDataset.getItemCount(0) > 1) {
final double[] coefficients = Regression.getOLSRegression(scatterpointsDataset, 0);
final Function2D curve = new LineFunction2D(coefficients[0], coefficients[1]);
final XYSeries regressionData = DatasetUtilities.sampleFunction2DToSeries(
curve, xStart, xEnd, 100, "regression line");
final XYIntervalSeries xyIntervalRegression = new XYIntervalSeries(regressionData.getKey());
final List<XYDataItem> regressionDataItems = regressionData.getItems();
for (XYDataItem item : regressionDataItems) {
final double x = item.getXValue();
final double y = item.getYValue();
xyIntervalRegression.add(x, x, x, y, y, y);
}
return xyIntervalRegression;
} else {
JOptionPane.showMessageDialog(this, "Unable to compute regression line.\n" +
"At least 2 values are needed to compute regression coefficients.");
return null;
}
}
代码示例来源:origin: bcdev/beam
final float y = sampleValues[x];
final float dy = sampleSigmas[x];
series.add(x, x - dx, x + dx, y, y - dy, y + dy);
final double x = shapeVertexIndexes[i];
final double y = attribute.doubleValue();
corrSeries.add(x, x, x, y, y, y);
代码示例来源:origin: senbox-org/snap-desktop
final float y = sampleValues[x];
final float dy = sampleSigmas[x];
series.add(x, x - dx, x + dx, y, y - dy, y + dy);
final double x = shapeVertexIndexes[i];
final double y = attribute.doubleValue();
corrSeries.add(x, x, x, y, y, y);
代码示例来源:origin: senbox-org/snap-desktop
private XYIntervalSeries computeRegressionData(double xStart, double xEnd) {
if (scatterpointsDataset.getItemCount(0) > 1) {
final double[] coefficients = Regression.getOLSRegression(scatterpointsDataset, 0);
final Function2D curve = new LineFunction2D(coefficients[0], coefficients[1]);
final XYSeries regressionData = DatasetUtilities.sampleFunction2DToSeries(curve, xStart, xEnd, 100, "regression line");
final XYIntervalSeries xyIntervalRegression = new XYIntervalSeries(regressionData.getKey());
for (int i = 0; i < regressionData.getItemCount(); i++) {
XYDataItem item = regressionData.getDataItem(i);
final double x = item.getXValue();
final double y = item.getYValue();
xyIntervalRegression.add(x, x, x, y, y, y);
}
return xyIntervalRegression;
} else {
Dialogs.showInformation("Unable to compute regression line.\n" +
"At least 2 values are needed to compute regression coefficients.");
return null;
}
}
代码示例来源:origin: bcdev/beam
final float rasterSigma = computedData.rasterSigma;
final float correlativeData = computedData.correlativeData;
scatterValues.add(correlativeData, correlativeData, correlativeData,
rasterMean, rasterMean - rasterSigma, rasterMean + rasterSigma);
代码示例来源:origin: senbox-org/snap-desktop
final float rasterSigma = computedData.rasterSigma;
final float correlativeData = computedData.correlativeData;
scatterValues.add(correlativeData, correlativeData, correlativeData,
rasterMean, rasterMean - rasterSigma, rasterMean + rasterSigma);
本文整理了Java中org.jfree.data.xy.XYIntervalSeries.getXLowValue()方法的一些代码示例,展示了XYIntervalSeries.getXLowValu
本文整理了Java中org.jfree.data.xy.XYIntervalSeries.getX()方法的一些代码示例,展示了XYIntervalSeries.getX()的具体用法。这些代码示例主
本文整理了Java中org.jfree.data.xy.XYIntervalSeries.addChangeListener()方法的一些代码示例,展示了XYIntervalSeries.addCha
本文整理了Java中org.jfree.data.xy.XYIntervalSeries.removeChangeListener()方法的一些代码示例,展示了XYIntervalSeries.rem
本文整理了Java中org.jfree.data.xy.XYIntervalSeries.getYHighValue()方法的一些代码示例,展示了XYIntervalSeries.getYHighVa
本文整理了Java中org.jfree.data.xy.XYIntervalSeries.getItemCount()方法的一些代码示例,展示了XYIntervalSeries.getItemCoun
本文整理了Java中org.jfree.data.xy.XYIntervalSeries.()方法的一些代码示例,展示了XYIntervalSeries.()的具体用法。这些代码示例主要来源于Gith
本文整理了Java中org.jfree.data.xy.XYIntervalSeries.clone()方法的一些代码示例,展示了XYIntervalSeries.clone()的具体用法。这些代码示
本文整理了Java中org.jfree.data.xy.XYIntervalSeries.getKey()方法的一些代码示例,展示了XYIntervalSeries.getKey()的具体用法。这些代
本文整理了Java中org.jfree.data.xy.XYIntervalSeries.add()方法的一些代码示例,展示了XYIntervalSeries.add()的具体用法。这些代码示例主要来
我是一名优秀的程序员,十分优秀!