Package | Description |
---|---|
de.erichseifert.gral.plots |
Plot related classes like axis and plot area management.
|
de.erichseifert.gral.plots.axes |
Classes for managing and drawing axes in plots.
|
de.erichseifert.gral.plots.points |
Classes for rendering point shapes in a plot.
|
Modifier and Type | Method and Description |
---|---|
Axis |
AbstractPlot.getAxis(String name)
Returns the axis with the specified name.
|
Axis |
Plot.getAxis(String name)
Returns the axis with the specified name.
|
Modifier and Type | Method and Description |
---|---|
void |
XYPlot.rangeChanged(Axis axis,
Number min,
Number max)
Notified if the range of an axis has changed.
|
void |
AbstractPlot.setAxis(String name,
Axis axis)
Sets the axis with the specified name and the associated
AxisRenderer . |
void |
Plot.setAxis(String name,
Axis axis)
Sets the axis with the specified name and the associated
AxisRenderer . |
Modifier and Type | Method and Description |
---|---|
protected void |
LogarithmicRenderer2D.createTicks(List<Tick> ticks,
Axis axis,
double min,
double max,
Set<Double> tickPositions,
boolean isAutoSpacing) |
protected void |
LinearRenderer2D.createTicks(List<Tick> ticks,
Axis axis,
double min,
double max,
Set<Double> tickPositions,
boolean isAutoSpacing) |
protected abstract void |
AbstractAxisRenderer2D.createTicks(List<Tick> ticks,
Axis axis,
double min,
double max,
Set<Double> tickPositions,
boolean isAutoSpacing)
Adds minor and major ticks to a list of ticks.
|
protected void |
AbstractAxisRenderer2D.createTicksCustom(List<Tick> ticks,
Axis axis,
double min,
double max,
Set<Double> tickPositions)
Adds custom ticks to a list of ticks.
|
PointND<Double> |
AxisRenderer.getNormal(Axis axis,
Number value,
boolean extrapolate,
boolean forceLinear)
Returns the normal vector at the position of the specified value.
|
PointND<Double> |
AbstractAxisRenderer2D.getNormal(Axis axis,
Number value,
boolean extrapolate,
boolean forceLinear)
Returns the normal vector at the position of the specified value.
|
PointND<Double> |
AxisRenderer.getPosition(Axis axis,
Number value,
boolean extrapolate,
boolean forceLinear)
Returns the position of the specified value on the axis.
|
PointND<Double> |
AbstractAxisRenderer2D.getPosition(Axis axis,
Number value,
boolean extrapolate,
boolean forceLinear)
Returns the position of the specified value on the axis.
|
Drawable |
AxisRenderer.getRendererComponent(Axis axis)
Returns a component that displays the specified axis.
|
Drawable |
AbstractAxisRenderer2D.getRendererComponent(Axis axis)
Returns a component that displays the specified axis.
|
protected Tick |
AbstractAxisRenderer2D.getTick(Tick.TickType type,
Axis axis,
double tickPositionWorld)
Returns the point of the tick mark (in pixel coordinates) on the
specified axis with the specified value.
|
List<Tick> |
LogarithmicRenderer2D.getTicks(Axis axis) |
List<Tick> |
AxisRenderer.getTicks(Axis axis)
Returns a list of all tick element on the axis.
|
List<Tick> |
AbstractAxisRenderer2D.getTicks(Axis axis)
Returns a list of all tick element on the axis.
|
void |
AxisListener.rangeChanged(Axis axis,
Number min,
Number max)
Notified if the range of the axis has changed.
|
Number |
LogarithmicRenderer2D.viewToWorld(Axis axis,
double value,
boolean extrapolate)
Converts a view (screen) coordinate value to a world (axis) coordinate
value.
|
Number |
LinearRenderer2D.viewToWorld(Axis axis,
double value,
boolean extrapolate)
Converts a view (screen) coordinate value to a world (axis) coordinate
value.
|
Number |
AxisRenderer.viewToWorld(Axis axis,
double value,
boolean extrapolate)
Converts a view (screen) coordinate value to a world (axis) coordinate
value.
|
double |
LogarithmicRenderer2D.worldToView(Axis axis,
Number value,
boolean extrapolate)
Converts a world (axis) coordinate value to a view (screen) coordinate
value.
|
double |
LinearRenderer2D.worldToView(Axis axis,
Number value,
boolean extrapolate)
Converts a world (axis) coordinate value to a view (screen) coordinate
value.
|
double |
AxisRenderer.worldToView(Axis axis,
Number value,
boolean extrapolate)
Converts a world (axis) coordinate value to a view (screen) coordinate
value.
|
Modifier and Type | Field and Description |
---|---|
List<Axis> |
PointData.axes
Axes that will be used to project the point.
|
Modifier and Type | Method and Description |
---|---|
protected void |
DefaultPointRenderer2D.drawErrorBars(DrawingContext context,
Shape point,
Row row,
int col,
int colErrorTop,
int colErrorBottom,
Axis axis,
AxisRenderer axisRenderer)
Draws error bars.
|
Constructor and Description |
---|
PointData(List<Axis> axes,
List<? extends AxisRenderer> axisRenderers,
Row row,
int col)
Initializes a new instance with the specified data.
|
Copyright © 2009-2013. All Rights Reserved.