- java.lang.Object
-
- net.finmath.plots.Plot2DFX
-
-
Constructor Summary
Constructors Constructor Description Plot2DFX()Plot2DFX(double xmin, double xmax, int numberOfPointsX, java.util.function.DoubleUnaryOperator function)Plot2DFX(double xmin, double xmax, int numberOfPointsX, java.util.List<Named<java.util.function.DoubleUnaryOperator>> doubleUnaryOperators)Plot2DFX(java.util.List<Plotable2D> plotables)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javafx.scene.chart.Chartget()voidsaveAsJPG(java.io.File file, int width, int height)voidsaveAsPDF(java.io.File file, int width, int height)voidsaveAsPNG(java.io.File file, int width, int height)voidsaveAsSVG(java.io.File file, int width, int height)PlotsetIsLegendVisible(java.lang.Boolean isLegendVisible)Plot2DFXsetTitle(java.lang.String title)Plot2DFXsetXAxisLabel(java.lang.String xAxisLabel)Plot2DFXsetYAxisLabel(java.lang.String yAxisLabel)Plot2DFXsetYAxisRange(java.lang.Double min, java.lang.Double max)PlotsetZAxisLabel(java.lang.String zAxisLabel)voidshow()Plot2DFXupdate(java.util.List<Plotable2D> plotables)
-
-
-
Constructor Detail
-
Plot2DFX
public Plot2DFX(java.util.List<Plotable2D> plotables)
-
Plot2DFX
public Plot2DFX(double xmin, double xmax, int numberOfPointsX, java.util.function.DoubleUnaryOperator function)
-
Plot2DFX
public Plot2DFX(double xmin, double xmax, int numberOfPointsX, java.util.List<Named<java.util.function.DoubleUnaryOperator>> doubleUnaryOperators)
-
Plot2DFX
public Plot2DFX()
-
-
Method Detail
-
get
public javafx.scene.chart.Chart get()
-
saveAsJPG
public void saveAsJPG(java.io.File file, int width, int height) throws java.io.IOException
-
saveAsPNG
public void saveAsPNG(java.io.File file, int width, int height) throws java.io.IOException- Throws:
java.io.IOException
-
saveAsPDF
public void saveAsPDF(java.io.File file, int width, int height) throws java.io.IOException
-
saveAsSVG
public void saveAsSVG(java.io.File file, int width, int height) throws java.io.IOException
-
update
public Plot2DFX update(java.util.List<Plotable2D> plotables)
-
setXAxisLabel
public Plot2DFX setXAxisLabel(java.lang.String xAxisLabel)
- Specified by:
setXAxisLabelin interfacePlot
-
setYAxisLabel
public Plot2DFX setYAxisLabel(java.lang.String yAxisLabel)
- Specified by:
setYAxisLabelin interfacePlot
-
setYAxisRange
public Plot2DFX setYAxisRange(java.lang.Double min, java.lang.Double max)
-
setZAxisLabel
public Plot setZAxisLabel(java.lang.String zAxisLabel)
- Specified by:
setZAxisLabelin interfacePlot
-
setIsLegendVisible
public Plot setIsLegendVisible(java.lang.Boolean isLegendVisible)
- Specified by:
setIsLegendVisiblein interfacePlot- Parameters:
isLegendVisible- the isLegendVisible to set
-
-