write functions for plotDist: quantityplotDist and dropdown menus to select for flevels