- java.lang.Object
-
- net.finmath.plots.Plot3DFX
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Plot3DFX.Axis
Axis 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 double
clamp(double value, double min, double max)
void
close()
javafx.scene.image.Image
createImage(double size, float[][] noise)
void
makeZoomable(javafx.scene.layout.StackPane control)
static double
normalizeValue(double value, double min, double max, double newMin, double newMax)
Plot
saveAsJPG(File file, int width, int height)
Plot
saveAsPDF(File file, int width, int height)
Plot
saveAsSVG(File file, int width, int height)
Plot
setIsLegendVisible(Boolean isLegendVisible)
Plot
setTitle(String title)
Plot
setXAxisLabel(String xAxisLabel)
Plot
setYAxisLabel(String yAxisLabel)
Plot
setZAxisLabel(String zAxisLabel)
void
show()
String
toString()
-
-
-
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 Plot saveAsJPG(File file, int width, int height) throws IOException
- Specified by:
saveAsJPG
in interfacePlot
- Throws:
IOException
-
setXAxisLabel
public Plot setXAxisLabel(String xAxisLabel)
- Specified by:
setXAxisLabel
in interfacePlot
-
setYAxisLabel
public Plot 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
-
-