Defines an array of data to plot. Note that there only two ways to define the data to plot: AddFunction and AddDataArray. Only one of these should be used in each graph. See Demo2 as an example. z0 setting then bar graphs will be split with higher values pointing up and lower values down. See Demo2 as an example. (ie a flat plate) and its color will be set to z0Color instead of the value defined by the z-color table of AddBarColors
Parameter | Type | Description |
---|---|---|
nX |
Integer |
Number of elements along the x-axis |
x0 |
Single |
Minimum value on x-axis |
X1 |
Single |
Maximum value on x-axis |
nY |
Integer |
Number of elements along the y-axis |
y0 |
Single |
Minimum value on y-axis |
Y1 |
Single |
Maximum value on y-axis |
zData() |
Single |
Z data |
z0 |
Single |
Optional 0-value on z-axis. The default is z0 = 0. When z values occur both above and below this |
z0Color |
Long |
A color value to use as a base color: when zData(i,j) = z0 the bar height will be zero |
AddFunction   AddBarColors  
ecGraph3D Copyright © 2008, Encore Consulting Pty Ltd