- java.lang.Object
-
- net.finmath.plots.Plot2DFX
-
-
Constructor Summary
Constructors Constructor Description Plot2DFX()
Plot2DFX(double xmin, double xmax, int numberOfPointsX, DoubleUnaryOperator function)
Plot2DFX(double xmin, double xmax, int numberOfPointsX, List<Named<DoubleUnaryOperator>> doubleUnaryOperators)
Plot2DFX(List<Plotable2D> plotables)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
javafx.scene.chart.Chart
get()
Plot2DFX
saveAsJPG(File file, int width, int height)
Plot2DFX
saveAsPDF(File file, int width, int height)
Plot2DFX
saveAsPNG(File file, int width, int height)
Plot2DFX
saveAsSVG(File file, int width, int height)
Plot
setIsLegendVisible(Boolean isLegendVisible)
Plot2DFX
setTitle(String title)
Plot2DFX
setXAxisLabel(String xAxisLabel)
Plot2DFX
setYAxisLabel(String yAxisLabel)
Plot2DFX
setYAxisRange(Double min, Double max)
Plot
setZAxisLabel(String zAxisLabel)
void
show()
Plot2DFX
update(List<Plotable2D> plotables)
-
-
-
Constructor Detail
-
Plot2DFX
public Plot2DFX(List<Plotable2D> plotables)
-
Plot2DFX
public Plot2DFX(double xmin, double xmax, int numberOfPointsX, DoubleUnaryOperator function)
-
Plot2DFX
public Plot2DFX(double xmin, double xmax, int numberOfPointsX, List<Named<DoubleUnaryOperator>> doubleUnaryOperators)
-
Plot2DFX
public Plot2DFX()
-
-
Method Detail
-
get
public javafx.scene.chart.Chart get()
-
saveAsJPG
public Plot2DFX saveAsJPG(File file, int width, int height) throws IOException
- Specified by:
saveAsJPG
in interfacePlot
- Throws:
IOException
-
saveAsPNG
public Plot2DFX saveAsPNG(File file, int width, int height) throws IOException
- Throws:
IOException
-
saveAsPDF
public Plot2DFX saveAsPDF(File file, int width, int height) throws IOException
- Specified by:
saveAsPDF
in interfacePlot
- Throws:
IOException
-
saveAsSVG
public Plot2DFX saveAsSVG(File file, int width, int height) throws IOException
- Specified by:
saveAsSVG
in interfacePlot
- Throws:
IOException
-
update
public Plot2DFX update(List<Plotable2D> plotables)
-
setXAxisLabel
public Plot2DFX setXAxisLabel(String xAxisLabel)
- Specified by:
setXAxisLabel
in interfacePlot
-
setYAxisLabel
public Plot2DFX setYAxisLabel(String yAxisLabel)
- Specified by:
setYAxisLabel
in interfacePlot
-
setZAxisLabel
public Plot setZAxisLabel(String zAxisLabel)
- Specified by:
setZAxisLabel
in interfacePlot
-
setIsLegendVisible
public Plot setIsLegendVisible(Boolean isLegendVisible)
- Specified by:
setIsLegendVisible
in interfacePlot
- Parameters:
isLegendVisible
- the isLegendVisible to set
-
-