function [Index,selpts,clkpts]=selectptscf(Xdat,Ydat,Xstd,Ystd,nfig)