generated plot4 graph