plot3 and 4

plot 3 taking params
plot 4 passing params