added global variable xvalue, yvalue to ggscatmat