- 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 voidclose()javafx.scene.chart.Chartget()voidsaveAsJPG(File file, int width, int height)voidsaveAsPDF(File file, int width, int height)voidsaveAsPNG(File file, int width, int height)voidsaveAsSVG(File file, int width, int height)PlotsetIsLegendVisible(Boolean isLegendVisible)Plot2DFXsetTitle(String title)Plot2DFXsetXAxisLabel(String xAxisLabel)Plot2DFXsetYAxisLabel(String yAxisLabel)Plot2DFXsetYAxisRange(Double min, Double max)PlotsetZAxisLabel(String zAxisLabel)voidshow()Plot2DFXupdate(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 void saveAsJPG(File file, int width, int height) throws IOException
- Specified by:
saveAsJPGin interfacePlot- Throws:
IOException
-
saveAsPNG
public void saveAsPNG(File file, int width, int height) throws IOException
- Throws:
IOException
-
saveAsPDF
public void saveAsPDF(File file, int width, int height) throws IOException
- Specified by:
saveAsPDFin interfacePlot- Throws:
IOException
-
saveAsSVG
public void saveAsSVG(File file, int width, int height) throws IOException
- Specified by:
saveAsSVGin interfacePlot- Throws:
IOException
-
update
public Plot2DFX update(List<Plotable2D> plotables)
-
setXAxisLabel
public Plot2DFX setXAxisLabel(String xAxisLabel)
- Specified by:
setXAxisLabelin interfacePlot
-
setYAxisLabel
public Plot2DFX setYAxisLabel(String yAxisLabel)
- Specified by:
setYAxisLabelin interfacePlot
-
setZAxisLabel
public Plot setZAxisLabel(String zAxisLabel)
- Specified by:
setZAxisLabelin interfacePlot
-
setIsLegendVisible
public Plot setIsLegendVisible(Boolean isLegendVisible)
- Specified by:
setIsLegendVisiblein interfacePlot- Parameters:
isLegendVisible- the isLegendVisible to set
-
-