Modifier and Type | Field and Description |
---|---|
static int |
THICK_LINE
Flag for plotting points with a thicker solid line
|
AUTO_POSITION, BAR, BOTTOM_LEFT, BOTTOM_MARGIN, BOTTOM_RIGHT, BOX, CENTER, CIRCLE, CONNECTED_CIRCLES, COPY_AXIS_STYLE, COPY_CONTENTS_STYLE, COPY_EXTRA_OBJECTS, COPY_LABELS, COPY_LEGEND, COPY_SIZE, CROSS, CUSTOM, DEFAULT_FLAGS, DIAMOND, DOT, FILLED, LEFT, LEFT_MARGIN, LEGEND_BOTTOM_UP, LEGEND_TRANSPARENT, LINE, MIN_FRAMEHEIGHT, MIN_FRAMEWIDTH, PROPERTY_KEY, RIGHT, RIGHT_MARGIN, SEPARATED_BAR, TOP_LEFT, TOP_MARGIN, TOP_RIGHT, TRIANGLE, X, X_FORCE2GRID, X_GRID, X_LOG_NUMBERS, X_LOG_TICKS, X_MINOR_TICKS, X_NUMBERS, X_RANGE, X_TICKS, Y_FORCE2GRID, Y_GRID, Y_LOG_NUMBERS, Y_LOG_TICKS, Y_MINOR_TICKS, Y_NUMBERS, Y_RANGE, Y_TICKS
Constructor and Description |
---|
ShollPlot(Profile... profiles) |
ShollPlot(Profile profile) |
ShollPlot(ShollStats stats) |
ShollPlot(ShollStats stats,
boolean cumulativeFrequencies) |
ShollPlot(String title,
String xLabel,
String yLabel)
Constructs a new empty Plot.
|
ShollPlot(String title,
String xLabel,
String yLabel,
ShollStats stats,
boolean annotate,
boolean useCumulativeFrequencies) |
Modifier and Type | Method and Description |
---|---|
void |
addPoints(double[] x,
double[] y,
double[] yErrorBars,
String label) |
void |
addPoints(double[] x,
double[] y,
int shape) |
void |
addPoints(double[] x,
double[] y,
String label) |
void |
addPoints(List<Number> xValues,
List<Number> yValues,
List<Number> yErrorBars,
String label) |
void |
addPoints(List<Number> xValues,
List<Number> yValues,
String label) |
void |
drawLabel(String label,
Color color)
Draws a label at the less crowded corner of an ImageJ plot.
|
void |
enableLegend(boolean enable) |
ShollStats |
getStats() |
boolean |
isUsingCumulativeFrequencies() |
boolean |
isVisible() |
void |
markPoint(ShollPoint point,
Color color)
Highlights a point on a plot using the default marker.
|
void |
markPoint(ShollPoint pCentroid,
int markShape,
int markSize)
Highlights a point on a plot without listing it on the Plot's table.
|
void |
rebuild() |
void |
rebuild(ShollStats stats) |
boolean |
save(File file) |
boolean |
save(String filepath) |
add, add, addErrorBars, addErrorBars, addErrorBars, addHistogram, addHistogram, addHistogram, addHorizontalErrorBars, addHorizontalErrorBars, addLabel, addLegend, addLegend, addObjectFromPlot, addPoints, addPoints, addPoints, addPoints, addPoints, addPoints, addText, addToStack, adjustCalibration, appendToStack, calculateDistance, changeFont, descaleX, descaleY, dispose, draw, drawArrow, drawDottedLine, drawLine, drawNormalizedLine, drawShapes, drawVectors, drawVectors, getCurrentFont, getDataObjectArrays, getDataObjectDesignations, getDefaultFlags, getDefaultFont, getDoubleFromArrayList, getDrawingFrame, getFlags, getImagePlus, getLabel, getLimits, getMinimumSize, getNumPlotObjects, getObjectFlags, getPlotObjectDesignations, getPlotObjectIndex, getPlotObjectLabel, getPlotObjectStyle, getProcessor, getResultsTable, getResultsTable, getResultsTableWithLabels, getSize, getStack, getTitle, getTypes, getXValues, getYValues, isFrozen, killPlotObjectsSnapshot, killPlotPropertiesSnapshot, makeHighResolution, redrawGrid, replace, restorePlotObjects, restorePlotProperties, savePlotObjects, savePlotPlotProperties, scaleXtoPxl, scaleYtoPxl, setAntialiasedText, setAxes, setAxisLabelFont, setAxisXLog, setAxisYLog, setBackgroundColor, setBackgroundColor, setColor, setColor, setColor, setColor, setFont, setFont, setFontSize, setFormatFlags, setFrameSize, setFrozen, setImagePlus, setJustification, setLabel, setLegend, setLimits, setLimits, setLimitsToDefaults, setLimitsToFit, setLineWidth, setLineWidth, setLogScaleX, setLogScaleY, setMaxIntervals, setMinorTickLength, setOptions, setPlotMaker, setPlotObjectLabel, setPlotObjectStyle, setPreviousMinMax, setScale, setSize, setStyle, setTickLength, setWindowSize, setXLabelFont, setXMinorTicks, setXTicks, setXYLabels, setYLabelFont, setYMinorTicks, setYTicks, show, toByteArray, toShape, update, updateImage, useTemplate, useTemplate
public static final int THICK_LINE
public ShollPlot(String title, String xLabel, String yLabel)
title
- the plot titlexLabel
- the x-axis labelyLabel
- the y-axis labelpublic ShollPlot(Profile profile)
public ShollPlot(ShollStats stats)
public ShollPlot(ShollStats stats, boolean cumulativeFrequencies)
public ShollPlot(Profile... profiles)
public ShollPlot(String title, String xLabel, String yLabel, ShollStats stats, boolean annotate, boolean useCumulativeFrequencies)
public void rebuild()
public void rebuild(ShollStats stats)
public void enableLegend(boolean enable)
public void markPoint(ShollPoint pCentroid, int markShape, int markSize)
null
pCentroid
- the point to be drawn (defined in calibrated coordinates)markShape
- either X, CROSS or DOT. Other shapes are not supported.markSize
- the mark size in pixelspublic void markPoint(ShollPoint point, Color color)
point
- the point to be drawn (defined in calibrated coordinates).color
- the drawing color. This will not affect consequent objectspublic void drawLabel(String label, Color color)
label
- Label contentscolor
- Foreground color of text. Note that this will also set the
drawing color for the next objects to be be added to the plotpublic boolean isVisible()
public boolean isUsingCumulativeFrequencies()
public boolean save(String filepath)
public boolean save(File file)
public ShollStats getStats()
public void addPoints(double[] x, double[] y, int shape)
public void addPoints(double[] x, double[] y, double[] yErrorBars, String label)
public void addPoints(double[] x, double[] y, String label)
Copyright © 2015–2021 Fiji. All rights reserved.