PiWeb-Formplots


Axiality plot

curve plot

Description

The axiality plot shows deviations from an imaginary coordinate axis. The axiality shares its data structures with the cylindricity plot and the generatrix plot.

Point structure

The points should use Axis as their segment type.

Geometry

The plot can display a height axis. The range of the axis is determined by multiplying the points height range with the actual geometries Height parameter. The other geometry parameters are currently unused.

Example

var plot = new CylindricityPlot();

var segment = new Segment<CylinderPoint, CylinderGeometry>( "All", SegmentTypes.Axis );
plot.Segments.Add( segment )

var rand = new Random( DateTime.Now.Millisecond );

//The range of the displayed z-axis will be this height multiplied with the points height range.
plot.Actual.Height = 10;

for( var i = 0; i < count; i++ )
{
	var deviation = 0.2 + rand.NextDouble() * 0.1;
	var height = (double)i / count;

	var point = new CylinderPoint( rand.NextDouble() * 0.1, height, deviation );
	
	segment.Points.Add( point );
}

plot.Tolerance = new Tolerance( -0.1, 0.1 );
plot.DefaultErrorScaling = 100;

Remarks