Fixed plotFrontier example