public static class GnuplotContext.Gnuplot extends Object implements Plot<GnuplotContext.Gnuplot>
Plot
.Plot.AxisScaleType, Plot.AxisType
Constructor and Description |
---|
GnuplotContext.Gnuplot(RealArray[] datasets)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
GnuplotContext.Gnuplot |
setAxis(Plot.AxisType axisType,
String axisTitle,
double lower,
double upper,
Plot.AxisScaleType axisScaleType)
Sets the axis information.
|
GnuplotContext.Gnuplot |
setAxisRange(Plot.AxisType axisType,
double lower,
double upper)
Sets the axis range.
|
GnuplotContext.Gnuplot |
setAxisScale(Plot.AxisType axisType,
Plot.AxisScaleType axisScaleType)
Sets the
Plot.AxisScaleType . |
GnuplotContext.Gnuplot |
setAxisTitle(Plot.AxisType axisType,
String axisTitle)
Sets the axis title.
|
GnuplotContext.Gnuplot |
setDataStyles(DataStyle... dataStyles)
Sets the
DataStyle s. |
GnuplotContext.Gnuplot |
setDataTitles(String... dataTitles)
Sets the data titles.
|
GnuplotContext.Gnuplot |
setPanelLocation(int panelX,
int panelY)
Sets the panel location.
|
GnuplotContext.Gnuplot |
setPanelSize(int panelWidth,
int panelHeight)
Sets the panel size.
|
GnuplotContext.Gnuplot |
setPropertyEnabled(String property,
boolean isPropertyEnabled)
Sets whether the given property is enabled.
|
GnuplotContext.Gnuplot |
setTitle(String title)
Sets the title.
|
GnuplotContext.Gnuplot |
setViewport(double... viewportParameters)
Sets the viewport.
|
public GnuplotContext.Gnuplot(RealArray[] datasets)
public GnuplotContext.Gnuplot setTitle(String title)
Plot
setTitle
in interface Plot<GnuplotContext.Gnuplot>
title
- the title.public GnuplotContext.Gnuplot setAxis(Plot.AxisType axisType, String axisTitle, double lower, double upper, Plot.AxisScaleType axisScaleType)
Plot
setAxis
in interface Plot<GnuplotContext.Gnuplot>
axisType
- the Plot.AxisType
.axisTitle
- the axis title.lower
- the lower bound.upper
- the upper bound.axisScaleType
- the Plot.AxisScaleType
.public GnuplotContext.Gnuplot setAxisTitle(Plot.AxisType axisType, String axisTitle)
Plot
setAxisTitle
in interface Plot<GnuplotContext.Gnuplot>
axisType
- the Plot.AxisType
.axisTitle
- the axis title.public GnuplotContext.Gnuplot setAxisRange(Plot.AxisType axisType, double lower, double upper)
Plot
setAxisRange
in interface Plot<GnuplotContext.Gnuplot>
axisType
- the Plot.AxisType
.lower
- the lower bound.upper
- the upper bound.public GnuplotContext.Gnuplot setAxisScale(Plot.AxisType axisType, Plot.AxisScaleType axisScaleType)
Plot
Plot.AxisScaleType
.setAxisScale
in interface Plot<GnuplotContext.Gnuplot>
axisType
- the Plot.AxisType
.axisScaleType
- the Plot.AxisScaleType
.public GnuplotContext.Gnuplot setDataTitles(String... dataTitles)
Plot
setDataTitles
in interface Plot<GnuplotContext.Gnuplot>
dataTitles
- the data titles.public GnuplotContext.Gnuplot setDataStyles(DataStyle... dataStyles)
Plot
DataStyle
s.setDataStyles
in interface Plot<GnuplotContext.Gnuplot>
dataStyles
- the DataStyle
s.public GnuplotContext.Gnuplot setViewport(double... viewportParameters)
Plot
setViewport
in interface Plot<GnuplotContext.Gnuplot>
viewportParameters
- the viewport parameters.public GnuplotContext.Gnuplot setPropertyEnabled(String property, boolean isPropertyEnabled)
Plot
setPropertyEnabled
in interface Plot<GnuplotContext.Gnuplot>
isPropertyEnabled
- whether the given property is enabled.public GnuplotContext.Gnuplot setPanelLocation(int panelX, int panelY)
Plot
setPanelLocation
in interface Plot<GnuplotContext.Gnuplot>
panelX
- the panel x
-coordinate.panelY
- the panel y
-coordinate.public GnuplotContext.Gnuplot setPanelSize(int panelWidth, int panelHeight)
Plot
setPanelSize
in interface Plot<GnuplotContext.Gnuplot>
panelWidth
- the panel width.panelHeight
- the panel height.