public class Conrec extends Object
http://local.wasp.uwa.edu.au/~pbourke/papers/conrec/
for full description
of code and original C++ source.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 rectangularly 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 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,iub,jlb,jub
- - 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.Copyright © 2016 Metron, Inc.. All rights reserved.