A followup Surface plot question
Posted: Mon Aug 24, 2009 11:33 am
In dPlot_Plot8(&DPlot,extents, z, szExec)
where is defined as double z[MAXNUM], and the 3D array has a dimesion of Nx by Ny,
how exacly the x, y xoordinalte laid out along the 1D z array?
If the z coordinates are represented as (xi,yi) is the layout of the z array is like this:
z = {(0,0), (0,1), ..(0, Ny-1), (1,0), (1,1)..(1,Ny-1)..(Nx-1,0), (Nz-1,1)..(Nx-1,Ny-1) }
Is this correct?
Peter
where is defined as double z[MAXNUM], and the 3D array has a dimesion of Nx by Ny,
how exacly the x, y xoordinalte laid out along the 1D z array?
If the z coordinates are represented as (xi,yi) is the layout of the z array is like this:
z = {(0,0), (0,1), ..(0, Ny-1), (1,0), (1,1)..(1,Ny-1)..(Nx-1,0), (Nz-1,1)..(Nx-1,Ny-1) }
Is this correct?
Peter