script for plotting regions in R. Also script that (manually) plots regions with equal equations.