AddDataArray
Public Sub AddDataArray(nX As Integer, x0 As Single, X1 As Single, nY As Integer, y0 As Single, Y1 As Single, zData() As Single, Optional z0 As Single = 0, Optional z0Color As Long = -1)
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
Example..
Call ecGraph3D1.AddDataArray(nx, x0, x1, ny, y0, y1, zdata, z0, z0color)
|