|
||||||||||
| 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<java.lang.String,java.lang.String>
com.panayotis.gnuplot.PropertiesHolder
com.panayotis.gnuplot.GNUPlotParameters
public class GNUPlotParameters
This is a placeholder for the parameters used to create the actual plot.
| Field Summary | |
|---|---|
static java.lang.String |
ERROR_VAR
The variable to use to store error status |
static java.lang.String |
ERRORTAG
Default error string to use while parsing gnuplot output |
static java.lang.String |
NOERROR_COMMAND
The command to use to check that the plot command executed without errors |
| Fields inherited from class com.panayotis.gnuplot.PropertiesHolder |
|---|
NL |
| Constructor Summary | |
|---|---|
GNUPlotParameters()
Create a new plot with the default parameters |
|
GNUPlotParameters(boolean isGraph3D)
Create a new plot with the default parameters |
|
| Method Summary | |
|---|---|
void |
addGraph(Graph gr)
Add a defined graph. |
void |
addPlot(Plot plot)
Add a new plot to the default plot group. |
Axis |
getAxis(java.lang.String axisname)
Get one of the available Axis from default Graph, in order to set some parameters on it. |
Page |
getPage()
Retrieve the whole page object, defining the various graph plots |
java.util.ArrayList<Plot> |
getPlots()
Get the list of the stored plots from default graph |
java.util.ArrayList<java.lang.String> |
getPostInit()
This list is used to add special commands to gnuplot, after the automatically generated from this library. |
java.util.ArrayList<java.lang.String> |
getPreInit()
This list is used to add special commands to gnuplot, before the automatically generated from this library. |
void |
newGraph()
Add a new Graph object. |
void |
newGraph3D()
Add a new Graph3D object. |
void |
setMultiTitle(java.lang.String title)
Set the title of all graph objects, in multiplot environment. |
| 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 |
| Field Detail |
|---|
public static final java.lang.String ERRORTAG
public static final java.lang.String ERROR_VAR
public static final java.lang.String NOERROR_COMMAND
| Constructor Detail |
|---|
public GNUPlotParameters()
public GNUPlotParameters(boolean isGraph3D)
isGraph3D - Whether this plot is a Graph3D| Method Detail |
|---|
public Axis getAxis(java.lang.String axisname)
axisname - The name of the Axis. It is usually "x", "y", "z"
public java.util.ArrayList<java.lang.String> getPreInit()
public java.util.ArrayList<java.lang.String> getPostInit()
public void addPlot(Plot plot)
plot - The given plot.public void newGraph()
newGraph3D()public void newGraph3D()
newGraph()public void addGraph(Graph gr)
gr - Graph object to be addednewGraph()public void setMultiTitle(java.lang.String title)
title - The title to usepublic Page getPage()
public java.util.ArrayList<Plot> getPlots()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||