Profile Picture

Grid: Gaps at Zero

Posted By Mark Malburg 9 Years Ago
Author
Message
Mark Malburg
Problem Posted 9 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)

Group: Forum Members
Last Active: Last Year
Posts: 11, Visits: 64
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!





Threaded View



Similar Topics


Reading This Topic