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 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)setIsLegendVisible(Boolean isLegendVisible)setXAxisLabel(String xAxisLabel)setYAxisLabel(String yAxisLabel)setZAxisLabel(String zAxisLabel)voidshow()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:
saveAsJPGin interfacePlot- Throws:
IOException
-
saveAsPDF
-
saveAsSVG
-
setTitle
-
setXAxisLabel
- Specified by:
setXAxisLabelin interfacePlot
-
setYAxisLabel
- Specified by:
setYAxisLabelin interfacePlot
-
setZAxisLabel
- Specified by:
setZAxisLabelin interfacePlot
-
setIsLegendVisible
- Specified by:
setIsLegendVisiblein interfacePlot
-
toString
-