void SortPoints( String sVarName <, boolean bSort> )
String sVarName
The name of the Y axis variable whose points you want to affect.
boolean bSort
If bSort is true, the points are sorted by the plot's X axis variable. If bSort is false, the points are not sorted.
Calling this method without specifying the bSort parameter is equivalent to calling it with bSort equal to true.
This method controls whether the points for a Y axis variable are sorted by the plot's X axis variable.
This method cannot be used with line plots that use group variables.
t = do( 0, 6.28, 6.28/20 ); x = cos( t ); y = sin( t ); declare LinePlot plot = LinePlot.Create( "Circle", x, y, false ); plot.SortPoints( "Y", false ); plot.ShowWindow();