Method to plot states implemented.