Hi,
?rect
par(mar=c(4,4,2,1.2),oma=c(0,0,0,0),xaxs="i", yaxs="i")
plot.new()
plot.window(xlim= c(0,8), ylim=c(0,8),col="blue",lwd=3, bg=5)
axis(1)
axis(2)
title(main="The Overall Title")
title(xlab="An x-axis label")
title(ylab="A y-axis label")
box()
rect(0,0,4,4,col='blue',border=NA)
rect(3,3,
Dear all r-users,
I have this code below to draw two squares, small and big square. I would like
to colour the small square with red and the big square with blue for example.
I tried using polygon but fail. Thank you so much for your help.
par(mar=c(4,4,2,1.2),oma=c(0,0,0,0),xaxs="i", ya
2 matches
Mail list logo