Range selections on scatter plot converted to single-attribute subsets.

Previously, subsets were defined using very long rectangles.

Fixes #379
Merge pull request #380 from ChrisBeaumont/379

Range selections on scatter plot converted to single-attribute subsets