public class ProfilePlot
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected ImagePlus |
imp |
protected double |
magnification |
protected double[] |
profile |
protected java.lang.String |
units |
protected double |
xInc |
protected float[] |
xValues |
protected java.lang.String |
yLabel |
Constructor and Description |
---|
ProfilePlot() |
ProfilePlot(ImagePlus imp) |
ProfilePlot(ImagePlus imp,
boolean averageHorizontally) |
Modifier and Type | Method and Description |
---|---|
void |
createWindow()
Displays this profile plot in a window.
|
static double |
getFixedMax()
Returns the profile plot y-axis max.
|
static double |
getFixedMin()
Returns the profile plot y-axis min.
|
double |
getMax()
Returns the calculated maximum value.
|
double |
getMin()
Returns the calculated minimum value.
|
Plot |
getPlot() |
java.awt.Dimension |
getPlotSize()
Returns the size of the plot that createWindow() creates.
|
double[] |
getProfile()
Returns the profile plot data.
|
static void |
setMinAndMax(double min,
double max)
Sets the y-axis min and max.
|
protected ImagePlus imp
protected double[] profile
protected double magnification
protected double xInc
protected java.lang.String units
protected java.lang.String yLabel
protected float[] xValues
public ProfilePlot()
public ProfilePlot(ImagePlus imp)
public ProfilePlot(ImagePlus imp, boolean averageHorizontally)
public java.awt.Dimension getPlotSize()
public void createWindow()
public Plot getPlot()
public double[] getProfile()
public double getMin()
public double getMax()
public static void setMinAndMax(double min, double max)
public static double getFixedMin()
public static double getFixedMax()