Class Plot3DFX

java.lang.Object
net.finmath.plots.Plot3DFX
All Implemented Interfaces:
Plot

public class Plot3DFX extends Object implements Plot
Small convenient wrapper for JZY3D derived from the JZY3D SurfaceDemo.
Author:
Christian Fries
  • 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()
      Specified by:
      show in interface Plot
    • close

      public void close()
      Specified by:
      close in interface Plot
    • 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 interface Plot
      Throws:
      IOException
    • saveAsPDF

      public Plot saveAsPDF(File file, int width, int height)
      Specified by:
      saveAsPDF in interface Plot
    • saveAsSVG

      public Plot saveAsSVG(File file, int width, int height)
      Specified by:
      saveAsSVG in interface Plot
    • setTitle

      public Plot setTitle(String title)
      Specified by:
      setTitle in interface Plot
    • setXAxisLabel

      public Plot setXAxisLabel(String xAxisLabel)
      Specified by:
      setXAxisLabel in interface Plot
    • setYAxisLabel

      public Plot setYAxisLabel(String yAxisLabel)
      Specified by:
      setYAxisLabel in interface Plot
    • setZAxisLabel

      public Plot setZAxisLabel(String zAxisLabel)
      Specified by:
      setZAxisLabel in interface Plot
    • setIsLegendVisible

      public Plot setIsLegendVisible(Boolean isLegendVisible)
      Specified by:
      setIsLegendVisible in interface Plot
    • toString

      public String toString()
      Overrides:
      toString in class Object