public class Conrec
extends java.lang.Object
| Constructor and Description |
|---|
Conrec(Render render)
Creates new Conrec
|
| Modifier and Type | Method and Description |
|---|---|
void |
contour(double[][] d,
int ilb,
int iub,
int jlb,
int jub,
double[] x,
double[] y,
int nc,
double[] z)
contour is a contouring subroutine for rectangularily spaced data
It emits calls to a line drawing subroutine supplied by the user
which draws a contour map corresponding to real*4data on a randomly
spaced rectangular grid.
|
public Conrec(Render render)
render - the renderpublic void contour(double[][] d,
int ilb,
int iub,
int jlb,
int jub,
double[] x,
double[] y,
int nc,
double[] z)
d - - matrix of data to contourilb - - index bounds of data matrixiub - - index bounds of data matrixjlb - - index bounds of data matrixjub - - index bounds of data matrix
The following two, one dimensional arrays (x and y) contain the horizontal and
vertical coordinates of each sample points.x - - data matrix column coordinatesy - - data matrix row coordinatesnc - - number of contour levelsz - - contour levels in increasing order.