Hi Mark,
If using dotool 3, please refer to the following example on how to get the indices of the selected data point.
@global = 1;
dataset dsIndex;
dotool 3;
count = 1;
def pointproc
{
dsIndex[count] = index;
count++;
if(count==3)
dotool 0;
};
def quittoolbox
{
if(count<2)
type -b please select two points!;
else
{
type indices of two points are:;
dsIndex[1] = ;
dsIndex[2] = ;
}
};
Penn