|
Group: Forum Members
Posts: 11,
Visits: 68
|
Check out this image: www.digitalmetrology.com/Transfer/WeirdGap.jpg
This is a SurfaceGrid with custom X,Z values. Can I get the "Primary X" and "Depth" axes to plot their zero value in the corner (against the "walls") instead of having the "Weird Gap" in the picture?
Here's how I generate custom values for those axes:
---------- BEGIN CODE --------------- // fill the X values surface.XValuesMode = GridSurfaceValuesMode.CustomValues; surface.ZValuesMode = GridSurfaceValuesMode.CustomValues;
for (int i = 0; i < surface.Data.GridSizeX; i++) { surface.XValues.Add(i * dPlotSpacingAlongYUM / 1000.0); }
for (int i = 0; i < surface.Data.GridSizeZ; i++) { surface.ZValues.Add(i * dPlotSpacingAlongXUM / 1000.0); }
---------- END CODE ---------------
Thanks!
|