Skip to content
Prev 337118 / 398528 Next

Three questions about plotting

On 02/28/2014 11:19 AM, David Parkhurst wrote:
You can get what you want with:

layout(matrix(1:3,ncol=1),heights=c(1,1,1.4))

rather than mfrow. Also, try using:

# first plot
par(mar=c(0,4,4,4))
# second plot
par(mar=c(0,4,0,4)) # and yaxt="n"
...
axis(4)
# third plot
par(mar=c(4,4,0,4))
Try DateLbls<-format(seq.Date(...),format="%m-%y")

Jim