warn if there is sampling range given for a data plot