add ability to set custom domain and range of plot (ref. #108)