Sir,

I would like to create a combined line-bar plot, with the line up top and
bar plot below, but with the x-axes suppressed on the topmost plot, the
line and bar plot areas joined by a common line, and the x-axes (of dates)
joined to the bottom part of the bar plot.

i have been able to format the area using the layout(matrix( ... commands,
but cannot figure out the final step.

here's the code so far:


layout(matrix(c(1,2), 2, 1, byrow=TRUE), widths=c(3,3), heights=c(2,1))
plot(saDwlPx[,1])
barplot(saDwlMoM[,1])

thanks + best regards

matt johnson

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to