to visualize the generated plot