Class Plot3D

  • All Implemented Interfaces:
    Plot

    public class Plot3D
    extends java.lang.Object
    implements Plot
    Small convenient wrapper for JZY3D derived from the JZY3D SurfaceDemo.
    Author:
    Christian Fries
    • Constructor Summary

      Constructors 
      Constructor Description
      Plot3D​(double xmin, double xmax, double ymin, double ymax, int numberOfPointsX, int numberOfPointsY, java.util.function.DoubleBinaryOperator function)  
      Plot3D​(double xmin, double xmax, double ymin, double ymax, int numberOfPointsX, int numberOfPointsY, Named<java.util.function.DoubleBinaryOperator> function)  
    • Constructor Detail

      • Plot3D

        public Plot3D​(double xmin,
                      double xmax,
                      double ymin,
                      double ymax,
                      int numberOfPointsX,
                      int numberOfPointsY,
                      Named<java.util.function.DoubleBinaryOperator> function)
      • Plot3D

        public Plot3D​(double xmin,
                      double xmax,
                      double ymin,
                      double ymax,
                      int numberOfPointsX,
                      int numberOfPointsY,
                      java.util.function.DoubleBinaryOperator function)
    • Method Detail

      • show

        public void show()
                  throws java.lang.Exception
        Specified by:
        show in interface Plot
        Throws:
        java.lang.Exception
      • saveAsJPG

        public void saveAsJPG​(java.io.File file,
                              int width,
                              int height)
                       throws java.io.IOException
        Specified by:
        saveAsJPG in interface Plot
        Throws:
        java.io.IOException
      • saveAsPDF

        public void saveAsPDF​(java.io.File file,
                              int width,
                              int height)
        Specified by:
        saveAsPDF in interface Plot
      • saveAsSVG

        public void saveAsSVG​(java.io.File file,
                              int width,
                              int height)
        Specified by:
        saveAsSVG in interface Plot
      • setTitle

        public Plot setTitle​(java.lang.String title)
        Specified by:
        setTitle in interface Plot
      • setXAxisLabel

        public Plot setXAxisLabel​(java.lang.String xAxisLabel)
        Specified by:
        setXAxisLabel in interface Plot
      • setYAxisLabel

        public Plot setYAxisLabel​(java.lang.String yAxisLabel)
        Specified by:
        setYAxisLabel in interface Plot
      • setZAxisLabel

        public Plot setZAxisLabel​(java.lang.String zAxisLabel)
        Specified by:
        setZAxisLabel in interface Plot
      • setIsLegendVisible

        public Plot setIsLegendVisible​(java.lang.Boolean isLegendVisible)
        Specified by:
        setIsLegendVisible in interface Plot
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object