public abstract class Plot extends Object implements Plotable, Noteable, Editable
| Modifier and Type | Class and Description |
|---|---|
class |
Plot.DefaultDataPanel |
| Modifier and Type | Field and Description |
|---|---|
Color |
color |
double[] |
coordNoted |
DataPanel |
datapanel |
LinkedList<LayerPlot> |
layers |
String |
name |
int |
note_precision |
boolean |
noted |
PlotCanvas |
plotCanvas |
boolean |
visible |
| Modifier and Type | Method and Description |
|---|---|
void |
addGaussQuantiles(int a,
double s) |
void |
addGaussQuantiles(int a,
double[] s) |
void |
addLayer(LayerPlot q) |
void |
addQuantile(int a,
double r,
double[] q,
boolean symetric) |
void |
addQuantile(int a,
double r,
double q,
boolean symetric) |
void |
addQuantile(QuantileLayerPlot q) |
void |
addQuantiles(int a,
double[] q) |
void |
addQuantiles(int a,
double[][] q) |
void |
addVector(double[][] v) |
void |
clearLayers() |
void |
edit(Object src) |
void |
editnote(AbstractDrawer draw) |
double[][] |
getBounds()
This method should be abstract, but for backward compatibility, here is a basic impl.
|
double[] |
getBounds(int axis) |
Color |
getColor() |
abstract double[][] |
getData() |
DataPanel |
getDataPanel(PlotCanvas plotCanvas) |
String |
getName() |
boolean |
getVisible() |
abstract double[] |
isSelected(int[] screenCoordTest,
AbstractDrawer draw) |
void |
note(AbstractDrawer draw) |
void |
noteCoord(AbstractDrawer draw,
double[] coordNoted) |
void |
plot(AbstractDrawer draw) |
abstract void |
plot(AbstractDrawer draw,
Color c) |
void |
plotLayerPlots(AbstractDrawer draw,
Color c) |
void |
setColor(Color c) |
abstract void |
setData(double[][] d) |
void |
setName(String n) |
void |
setVisible(boolean v) |
public String name
public Color color
public boolean visible
public LinkedList<LayerPlot> layers
public boolean noted
public double[] coordNoted
public int note_precision
public DataPanel datapanel
public PlotCanvas plotCanvas
public void clearLayers()
public void addLayer(LayerPlot q)
public void addQuantile(QuantileLayerPlot q)
public void addQuantile(int a,
double r,
double[] q,
boolean symetric)
public void addQuantile(int a,
double r,
double q,
boolean symetric)
public void addQuantiles(int a,
double[][] q)
public void addQuantiles(int a,
double[] q)
public void addGaussQuantiles(int a,
double[] s)
public void addGaussQuantiles(int a,
double s)
public void addVector(double[][] v)
public abstract void setData(double[][] d)
public abstract double[][] getData()
public double[] getBounds(int axis)
public double[][] getBounds()
public void setVisible(boolean v)
setVisible in interface Plotablepublic boolean getVisible()
getVisible in interface Plotablepublic void setName(String n)
public String getName()
public abstract double[] isSelected(int[] screenCoordTest,
AbstractDrawer draw)
isSelected in interface EditableisSelected in interface Noteablepublic void note(AbstractDrawer draw)
public void noteCoord(AbstractDrawer draw, double[] coordNoted)
public abstract void plot(AbstractDrawer draw, Color c)
public void plot(AbstractDrawer draw)
public void plotLayerPlots(AbstractDrawer draw, Color c)
public void editnote(AbstractDrawer draw)
public DataPanel getDataPanel(PlotCanvas plotCanvas)
Copyright © 2015. All rights reserved.