table_to_uniform_field


Synopsis

maps the data in an array of DBcolumn to a uniform field.

Input Ports

columns[]

array of DBcolumn

parent

UIconnection

 

Parameters

X Axis

UIoptionMenu

selects a column for the field's X axis

On

UItoggle

if set, use the X axis

Y Axis

UIoptionMenu

selects a column for the field's Y axis

On

UItoggle

if set, use the Y axis

Z Axis

UIoptionMenu

selects a column for the field's Z axis

On

UItoggle

if set, use the Z axis

Axis Setup

UIoptionMenu

selects a column whose axis parameters are to be set

Discrete

UItoggle

toggles the column between discrete and continuous values

Min value

UIfield

minimum value for coordinates

Max value

UIfield

maximum value for coordinates

Bin size

UIfield

size of the bin

normalize axis

UItoggle

if set, normalizes coordinates to the [0, 1] range

set labels

UItoggle

if set, creates labels for the axis

index labels

UItoggle

if set, uses indices instead of values for labels

label step

UIslider

number to skip for labels

Field Data

UIoptionBox

selects columns for field node data

Count Records

UItoggle

if set, counts the number of values in a bin

Data Setup

UIoptionMenu

selects a column whose data parameters are to be set

sum

UIradioBox

sums the data in each bin

average

UIradioBox

averages the data in each bin

 

Output Ports

out_fld

Mesh_Unif+Node_Data

out_obj

DefaultObject

axis_labels

group

x_name

string

y_name

string

z_name

string

 

Description

Table_to_Uniform_Field maps the data in an array of DBcolumn to a 1D, 2D, or 3D uniform field. The data to be mapped is usually query data returned by DBquery or Query.

You typically use uniform fields to represent regular data whose records form continuous 1D, 2D, or 3D uniformly spaced arrays. You can visualize a uniform field in many ways; for example, city_plot, ribbon_plot, surface_plot, contour, isosurface, or isoline.

Table_to_Uniform_Field provides a number of parameter values that control various aspects of the mapping.

Axis parameters

You use the X Axis, Y Axis, and Z Axis selection menus to select one, two, or three columns that will serve as the coordinate axes of the resulting uniform field. The number of dimensions in the output field will be one, two, or three, respectively. You use the On toggle associated with each menu to turn on the corresponding axis.

You use the Axis Setup menu to specify a column whose axis parameters you want to set. These parameter values are used when you select the column as a coordinate axis. The following axis parameters are available: