Displaying 1 result from an estimated 1 matches for "2h2fvhf".
2009 Dec 18
2
Legend for two plots
...e out how to solve the following
problem:
I am trying to put a legend below two plots using the code below. The
legend appears in the second plot,
but I want the legend to appear below the two plots in the center of
the total chart. At the moment the
graphic looks like this: http://i48.tinypic.com/2h2fvhf.jpg
[code]
layout(matrix(1:2, nrow=1))
#c(down,left,top,right)
par(mar=c(4,4,3,1))
plot(totalExp , totalDiffs,
main="Years of experience",
cex.main = 0.9,
cex.lab=0.8,
xlab="Years of experience",
ylab="COCOMO II - expert estimate",
pch=totalPch,
col = totalColo...