|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<Plot>
com.panayotis.gnuplot.plot.Graph
public class Graph
Graph objects are parts of a multi-plot drawing. Each graph contains other plots which share the same axis. All gnuplot objects have at least one graph object.
For single plots, better have a look at Plot objects and GNUPlot.addPlot() command
| Field Summary | |
|---|---|
protected static java.lang.String |
NL
|
| Fields inherited from class java.util.AbstractList |
|---|
modCount |
| Constructor Summary | |
|---|---|
Graph()
Create a new graph object |
|
| Method Summary | |
|---|---|
void |
addPlot(Plot plot)
Add a new plot to this plotgroup. |
Axis |
getAxis(java.lang.String axisname)
Get one of the available Axis, in orde to set some parameters on it. |
LayoutMetrics |
getMetrics()
Get the positioning and size of this graph object |
protected java.lang.String |
getPlotCommand()
Get the actual gnuplot command to initiate the plot. |
void |
setMetrics(float x,
float y,
float width,
float height)
Set the position and size of thie graph object, relative to a 0,0-1,1 page |
| Methods inherited from class java.util.ArrayList |
|---|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize |
| Methods inherited from class java.util.AbstractList |
|---|
equals, hashCode, iterator, listIterator, listIterator, subList |
| Methods inherited from class java.util.AbstractCollection |
|---|
containsAll, removeAll, retainAll, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
|---|
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList |
| Field Detail |
|---|
protected static final java.lang.String NL
| Constructor Detail |
|---|
public Graph()
| Method Detail |
|---|
public Axis getAxis(java.lang.String axisname)
axisname - The name of the Axis. It is usually "x", "y", "z"
public void addPlot(Plot plot)
plot - The given plot.
public void setMetrics(float x,
float y,
float width,
float height)
x - horizontal positiony - vertical positionwidth - width of this graphheight - of this graphpublic LayoutMetrics getMetrics()
protected java.lang.String getPlotCommand()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||