/** Adds vertical error bars to the plot. * Must be called before the plot is displayed. * Note that there are more options available by using the methods of the Plot class instead. * @deprecated use the corresponding method of the Plot class */ public void addErrorBars(float[] errorBars) { plot.addErrorBars(errorBars); }
public void addErrorBars(String dummy, float[] errorBars) { addErrorBars(errorBars); }
/** Adds vertical error bars to the plot. * Must be called before the plot is displayed. * Note that there are more options available by using the methods of the Plot class instead. * @deprecated use the corresponding method of the Plot class */ public void addErrorBars(float[] errorBars) { plot.addErrorBars(errorBars); }
public void addErrorBars(String dummy, float[] errorBars) { addErrorBars(errorBars); }
/** Adds vertical error bars to the last data passed to the plot (via the constructor or addPoints). */ public void addErrorBars(double[] errorBars) { addErrorBars(Tools.toFloat(errorBars)); }
/** Adds vertical error bars to the last data passed to the plot (via the constructor or addPoints). */ public void addErrorBars(double[] errorBars) { addErrorBars(Tools.toFloat(errorBars)); }
/** Adds a curve, set of points or error bars to this plot, where 'type' is * "line", "connected circle", "filled", "bar", "separated bar", "circle", "box", * "triangle", "diamond", "cross", "x", "dot", "error bars" or "xerror bars". */ public void add(String type, double[] yvalues) { int iShape = toShape(type); if (iShape==-1) addErrorBars(yvalues); else if (iShape==-2) addHorizontalErrorBars(yvalues); else addPoints(null, Tools.toFloat(yvalues), null, iShape, iShape==CUSTOM?type.substring(5, type.length()):null); }
/** Adds a curve, set of points or error bars to this plot, where 'type' is * "line", "connected circle", "filled", "bar", "separated bar", "circle", "box", * "triangle", "diamond", "cross", "x", "dot", "error bars" or "xerror bars". */ public void add(String type, double[] yvalues) { int iShape = toShape(type); if (iShape==-1) addErrorBars(yvalues); else if (iShape==-2) addHorizontalErrorBars(yvalues); else addPoints(null, Tools.toFloat(yvalues), null, iShape, iShape==CUSTOM?type.substring(5, type.length()):null); }
currentPlot.addErrorBars(y); else if (what==-2) currentPlot.addHorizontalErrorBars(y);
currentPlot.addErrorBars(y); else if (what==-2) currentPlot.addHorizontalErrorBars(y);