java.lang.Object
net.finmath.plots.Plot2DFX
- All Implemented Interfaces:
Plot
Small convenient wrapper for Java FX line plot.
- Author:
- Christian Fries
-
Constructor Summary
ConstructorsConstructorDescriptionPlot2DFX()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
Modifier and TypeMethodDescriptionvoidclose()javafx.scene.chart.Chartget()setIsLegendVisible(Boolean isLegendVisible)setXAxisLabel(String xAxisLabel)setYAxisLabel(String yAxisLabel)setYAxisRange(Double min, Double max)setZAxisLabel(String zAxisLabel)voidshow()update(List<Plotable2D> plotables)
-
Constructor Details
-
Plot2DFX
-
Plot2DFX
-
Plot2DFX
public Plot2DFX(double xmin, double xmax, int numberOfPointsX, List<Named<DoubleUnaryOperator>> doubleUnaryOperators) -
Plot2DFX
public Plot2DFX()
-
-
Method Details
-
show
public void show() -
close
public void close() -
get
public javafx.scene.chart.Chart get() -
saveAsJPG
- Specified by:
saveAsJPGin interfacePlot- Throws:
IOException
-
saveAsPNG
- Throws:
IOException
-
saveAsPDF
- Specified by:
saveAsPDFin interfacePlot- Throws:
IOException
-
saveAsSVG
- Specified by:
saveAsSVGin interfacePlot- Throws:
IOException
-
update
-
setTitle
-
setXAxisLabel
- Specified by:
setXAxisLabelin interfacePlot
-
setYAxisLabel
- Specified by:
setYAxisLabelin interfacePlot
-
setYAxisRange
-
setZAxisLabel
- Specified by:
setZAxisLabelin interfacePlot
-
setIsLegendVisible
- Specified by:
setIsLegendVisiblein interfacePlot- Parameters:
isLegendVisible- the isLegendVisible to set
-