adding plotlimit_SCAN.cc