public class DensityPlotState extends PlotState
PlotState.SimpleValueInfo
Constructor and Description |
---|
DensityPlotState() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
double |
getHiCut()
Gets the upper cut value, as a fraction of the visible bins.
|
Shader |
getIndexedShader()
Returns the shader to be used for shading pixels in
indexed (non-RGB) mode.
|
double |
getLoCut()
Gets the lower cut value, as a fraction of the visible bins.
|
boolean |
getLogZ()
Determines whether the colour intensity is to be plotted on a log or
linear scale.
|
int |
getPixelSize()
Gets the size of each data pixel (bin) in screen pixels.
|
boolean |
getRgb()
Determines whether the plot will be coloured.
|
boolean |
getWeighted()
Determines whether non-unit weighting is (maybe) in force for this state.
|
int |
hashCode() |
void |
setHiCut(double frac)
Sets the upper cut value, as a fraction of the visible bins.
|
void |
setIndexedShader(Shader indexedShader)
Sets the shader object to be used for shading pixels in
indexed (non-RGB) mode.
|
void |
setLoCut(double frac)
Sets the lower cut value, as a fraction of the visible bins.
|
void |
setLogZ(boolean zLog)
Sets whether the colour intensity is to be plotted on a log or
linear scale.
|
void |
setPixelSize(int psize)
Sets the size of each data pixel (bin) in screen pixels.
|
void |
setRgb(boolean rgb)
Sets whether the plot will be coloured.
|
void |
setWeighted(boolean weighted)
Sets whether non-unit weighting is (maybe) in force for this state.
|
compare, getAntialias, getAxes, getAxisLabels, getConverters, getFlipFlags, getGrid, getLogFlags, getMainNdim, getPlotData, getRanges, getShaders, getValid, setAntialias, setAxes, setAxisLabels, setConverters, setFlipFlags, setGrid, setLogFlags, setMainNdim, setPlotData, setRanges, setShaders, setValid
public void setRgb(boolean rgb)
rgb
- true for colour, false for monochromepublic boolean getRgb()
public void setLogZ(boolean zLog)
zLog
- true iff you want logarithmic scaling of intensitypublic boolean getLogZ()
public void setPixelSize(int psize)
psize
- pixel sizepublic int getPixelSize()
public void setLoCut(double frac)
frac
- lower cut value (0-1)public double getLoCut()
public void setHiCut(double frac)
frac
- upper cut value (0-1)public double getHiCut()
public void setWeighted(boolean weighted)
weighted
- whether weights are usedpublic boolean getWeighted()
public void setIndexedShader(Shader indexedShader)
indexedShader
- shaderpublic Shader getIndexedShader()
Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.