Table Of Contents

GraphTasks ► Z Values

The Z Values task interprets the columns of a table as x-contiguous z-values and the rows of a table as y-contiguous z-values. The z-values correspond to height of cells on a 3D perspective plot or as cell amplitude on point fill plots. Some things to note about this task follows:

While importing data using Tables or Fetch keep in mind that the format is scalars separated by blanks.

Grid Definition

The numbers (a string representation) in the table are mapped onto a regular grid in the normal way in an x-contiguous and column-contiguous fashion. That is, lets say there are "n" z-values:

z1 z2 z3 ... zn

On a grid with definitions and relationships:

nxThe number of z-values in the x-direction (column length)
nyThe number of z-values in the y-direction (row length)
nMust equal nx ny
xminThe value of x-minimum set in the preferences
xmaxThe value of x-maximum set in the preferences
yminThe value of y-minimum set in the preferences
ymaxThe value of y-maximum set in the preferences
Δx= (xmax - xmin)/(nx - 1)
Δy= (ymax - ymin)/(ny - 1)
iThe index of the i-th element in the list of z-values (starting at 1)
jThe index of the j-th z-value in the x-direction (starting at 1)
kThe index of the k-th z-value in the y-direction (starting at 1)
i = (k-1) ny + j

then for the z-value zj,k (which is zi = z(k-1) ny + j) the x and y values are defined as:

xj = xmin + Δx (j - 1)

yk = ymin + Δy (k - 1)

to form the triplet (3D point): {xj, yk, zj,k}

which is to say that "successive column-contiguous z-values are ordered in a x-contiguous way on a regular grid in the x and y direction" and the units in the x and y direction are specified by separate parameters (xmin, xmax, ymin, ymax).




© Copyright 1993-2021 by VVimaging, Inc. (VVI); All Rights Reserved. Please email support@vvi.com with any comments you have concerning this documentation. See Legal for trademark and legal information.