added custom plot input, custom plot directions, and continuous discrete plot