minor edits to plot4.R
more errors and typos fixed in plot1-3 R files