java.lang.Object
net.finmath.plots.Plot3DFX
- All Implemented Interfaces:
Plot
Small convenient wrapper for JZY3D derived from the JZY3D SurfaceDemo.
- Author:
- Christian Fries
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionPlot3DFX(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
Modifier and TypeMethodDescriptionstatic 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)
setIsLegendVisible(Boolean isLegendVisible)
setXAxisLabel(String xAxisLabel)
setYAxisLabel(String yAxisLabel)
setZAxisLabel(String zAxisLabel)
void
show()
toString()
-
Constructor Details
-
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 Details
-
show
public void show() -
close
public void close() -
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
- Specified by:
saveAsJPG
in interfacePlot
- Throws:
IOException
-
saveAsPDF
-
saveAsSVG
-
setTitle
-
setXAxisLabel
- Specified by:
setXAxisLabel
in interfacePlot
-
setYAxisLabel
- Specified by:
setYAxisLabel
in interfacePlot
-
setZAxisLabel
- Specified by:
setZAxisLabel
in interfacePlot
-
setIsLegendVisible
- Specified by:
setIsLegendVisible
in interfacePlot
-
toString
-