Displaying 2 results from an estimated 2 matches for "boxheight".
2006 Aug 01
1
R crashes using pdf() windows() or postscript()
...Helvetica", paper = "special")
}
else if(type == "ps"){
postscript(file = paste(figurename, ".ps", sep=''), width = 1.4,
height = 0.5, onefile = TRUE, family = "Helvetica", paper = "special",
fonts = "sans")
}
boxheight <- unit(1, "npc")
boxwidth <- unit(1, "npc")
pushViewport(viewport(x=0.5, y=0.5, width = boxwidth, height =
boxheight))
grid.roundRect(height=boxheight, width=boxwidth, r=unit(3, "mm"),
gp = box.gpar)
grid.text(label, just = "centre",...
2010 Jul 22
5
legend in R plot
Hi all,
I am have some difficulty with the legend function.
I need to add a legend to describe the different line types in a plot. The
legend box is small.
It did not include sufficient length of each line type to help distinguish
the differnt line types.
Is there a way to fix this.
Thank you
Hannah
[[alternative HTML version deleted]]