public class GNUPlotParameters extends PropertiesHolder implements java.io.Serializable
NL| Constructor and Description |
|---|
GNUPlotParameters()
Create a new plot with the default parameters
|
GNUPlotParameters(boolean isGraph3D)
Create a new plot with the default parameters
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
appendProperties, set, set, unsetclear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, valuespublic GNUPlotParameters()
public GNUPlotParameters(boolean isGraph3D)
isGraph3D - Whether this plot is a Graph3Dpublic 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()