- java.lang.Object
-
- net.finmath.plots.Plot3DFX
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPlot3DFX.AxisAxis wall
-
Constructor Summary
Constructors Constructor Description Plot3DFX(double xmin, double xmax, double ymin, double ymax, int numberOfPointsX, int numberOfPointsY, DoubleBinaryOperator function)Plot3DFX(double xmin, double xmax, double ymin, double ymax, int numberOfPointsX, int numberOfPointsY, Named<DoubleBinaryOperator> function)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static doubleclamp(double value, double min, double max)voidclose()javafx.scene.image.ImagecreateImage(double size, float[][] noise)voidmakeZoomable(javafx.scene.layout.StackPane control)static doublenormalizeValue(double value, double min, double max, double newMin, double newMax)voidsaveAsJPG(File file, int width, int height)voidsaveAsPDF(File file, int width, int height)voidsaveAsSVG(File file, int width, int height)PlotsetIsLegendVisible(Boolean isLegendVisible)PlotsetTitle(String title)PlotsetXAxisLabel(String xAxisLabel)PlotsetYAxisLabel(String yAxisLabel)PlotsetZAxisLabel(String zAxisLabel)voidshow()StringtoString()
-
-
-
Constructor Detail
-
Plot3DFX
public Plot3DFX(double xmin, double xmax, double ymin, double ymax, int numberOfPointsX, int numberOfPointsY, Named<DoubleBinaryOperator> function)
-
Plot3DFX
public Plot3DFX(double xmin, double xmax, double ymin, double ymax, int numberOfPointsX, int numberOfPointsY, DoubleBinaryOperator function)
-
-
Method Detail
-
createImage
public javafx.scene.image.Image createImage(double size, float[][] noise)
-
makeZoomable
public void makeZoomable(javafx.scene.layout.StackPane control)
-
normalizeValue
public static double normalizeValue(double value, double min, double max, double newMin, double newMax)
-
clamp
public static double clamp(double value, double min, double max)
-
saveAsJPG
public void saveAsJPG(File file, int width, int height) throws IOException
- Specified by:
saveAsJPGin interfacePlot- Throws:
IOException
-
saveAsPDF
public void saveAsPDF(File file, int width, int height)
-
saveAsSVG
public void saveAsSVG(File file, int width, int height)
-
setXAxisLabel
public Plot setXAxisLabel(String xAxisLabel)
- Specified by:
setXAxisLabelin interfacePlot
-
setYAxisLabel
public Plot 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
-
-