org.math.plot.plots
Class GridPlot3D

java.lang.Object
  extended by org.math.plot.plots.Plot
      extended by org.math.plot.plots.GridPlot3D
All Implemented Interfaces:
Editable, Noteable, Plotable

public class GridPlot3D
extends Plot


Field Summary
 boolean draw_lines
           
 boolean fill_shape
           
(package private)  double[] X
           
private  double[][] XYZ_list
           
(package private)  double[] Y
           
(package private)  double[][] Z
           
 
Fields inherited from class org.math.plot.plots.Plot
color, name, note_precision, noted, quantiles, visible
 
Constructor Summary
GridPlot3D(String n, Color c, double[] _X, double[] _Y, double[][] _Z)
           
 
Method Summary
private  void buildXYZ_list()
           
 double[][] getData()
           
 double[] getDataX()
           
 double[] getDataY()
           
 double[][] getDataZ()
           
 double[] isSelected(int[] screenCoordTest, AbstractDrawer draw)
           
static void main(String[] args)
           
 void plot(AbstractDrawer draw, Color c)
           
 void setData(double[][] _Z)
           
 void setDataX(double[] _X)
           
 void setDataXYZ(double[] _X, double[] _Y, double[][] _Z)
           
 void setDataY(double[] _Y)
           
 void setDataZ(double[][] _Z)
           
 
Methods inherited from class org.math.plot.plots.Plot
addQuantile, addQuantile, addQuantile, addQuantiles, addQuantiles, edit, editnote, getColor, getName, getVisible, note, plot, plotQuantiles, setColor, setName, setVisible
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

X

double[] X

Y

double[] Y

Z

double[][] Z

XYZ_list

private double[][] XYZ_list

draw_lines

public boolean draw_lines

fill_shape

public boolean fill_shape
Constructor Detail

GridPlot3D

public GridPlot3D(String n,
                  Color c,
                  double[] _X,
                  double[] _Y,
                  double[][] _Z)
Method Detail

plot

public void plot(AbstractDrawer draw,
                 Color c)
Specified by:
plot in class Plot

buildXYZ_list

private void buildXYZ_list()

setData

public void setData(double[][] _Z)
Specified by:
setData in class Plot

getData

public double[][] getData()
Specified by:
getData in class Plot

setDataZ

public void setDataZ(double[][] _Z)

getDataZ

public double[][] getDataZ()

setDataX

public void setDataX(double[] _X)

getDataX

public double[] getDataX()

setDataY

public void setDataY(double[] _Y)

getDataY

public double[] getDataY()

setDataXYZ

public void setDataXYZ(double[] _X,
                       double[] _Y,
                       double[][] _Z)

isSelected

public double[] isSelected(int[] screenCoordTest,
                           AbstractDrawer draw)
Specified by:
isSelected in interface Editable
Specified by:
isSelected in interface Noteable
Specified by:
isSelected in class Plot

main

public static void main(String[] args)