|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractMap<K,V>
java.util.HashMap<String,String>
com.panayotis.gnuplot.PropertiesHolder
com.panayotis.gnuplot.plot.AbstractPlot
com.panayotis.gnuplot.plot.DataSetPlot
public class DataSetPlot
This plot uses data sets as coordinates of the points to e displayed. The user can provide data either statically (through the specialized constructors with native base types) or with the more flexible generic object PointDataSet.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.util.AbstractMap |
|---|
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V> |
| Field Summary |
|---|
| Fields inherited from class com.panayotis.gnuplot.PropertiesHolder |
|---|
NL |
| Constructor Summary | |
|---|---|
DataSetPlot()
Create a new data set with a default data set. |
|
DataSetPlot(DataSet dataset)
Create a new object with a specific data set |
|
DataSetPlot(double[][] dataset)
Create a new data set with the specified double-precision array as a data set |
|
DataSetPlot(float[][] dataset)
Create a new data set with the specified float-precision array as a data set |
|
DataSetPlot(int[][] dataset)
Create a new data set with the specified int-precision array as a data set |
|
DataSetPlot(long[][] dataset)
Create a new data set with the specified long-precision array as a data set |
|
| Method Summary | |
|---|---|
DataSet |
getDataSet()
Retrieve the data set of this plot |
void |
retrieveData(StringBuffer bf)
Retrieve the data set of this plot command. |
void |
setDataSet(DataSet set)
Set the data set of this plot to the specified one |
| Methods inherited from class com.panayotis.gnuplot.plot.AbstractPlot |
|---|
getPlotStyle, retrieveDefinition, setDefinition, setPlotStyle, setSmooth, setTitle |
| Methods inherited from class com.panayotis.gnuplot.PropertiesHolder |
|---|
appendProperties, set, set, unset |
| Methods inherited from class java.util.HashMap |
|---|
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
| Methods inherited from class java.util.AbstractMap |
|---|
equals, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Map |
|---|
equals, hashCode |
| Constructor Detail |
|---|
public DataSetPlot()
public DataSetPlot(double[][] dataset)
dataset - A 2D double table with the data setpublic DataSetPlot(float[][] dataset)
dataset - A 2D float table with the data setpublic DataSetPlot(int[][] dataset)
dataset - A 2D int table with the data setpublic DataSetPlot(long[][] dataset)
dataset - A 2D long table with the data setpublic DataSetPlot(DataSet dataset)
dataset - The data set to use| Method Detail |
|---|
public void retrieveData(StringBuffer bf)
bf - The buffer to store the data setpublic void setDataSet(DataSet set)
set - The data set to usepublic DataSet getDataSet()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||