Displaying 1 result from an estimated 1 matches for "tortuosityplot".
2009 Feb 05
2
Unexpected mfrow, layout behavior (pdf still has multiple pages)
...and layout?
Paul
--------------------------------
My code is as follows (ToruosityPlot and DiameterPlot are essentially
identical to LDRPlot).
layout(matrix(1:3, ncol=1))
#par(mfrow=c(3,1))
pdf("results.pdf", width=4, height=3, pointsize=4, colormodel="cmyk",
onefile=TRUE)
TortuosityPlot(left, right)
DiameterPlot(left, right)
LDRPlot(left, right)
dev.off()
LDRPlot <- function(left, right)
{
plot(left$x, left$LDR, bty="n", ann=FALSE, xlim=c(-1500, 1000),
ylim=c(1.0, 1.5))
abline(v=0, col=gray(.90))
lines(left$x, left$LDR, col="green4", lty=&quo...