Displaying 1 result from an estimated 1 matches for "gedot".
Did you mean:
gedit
2009 Feb 23
1
simple graphing question
...se positive or negative responses are
important, I would like to have a vertical red line top to bottom at
0. I've experimented with dot.line, add.line to put in horizontal
lines but was unsuccessful. Although the following code puts a red
vertical line in, it is at the plot's left border.
gedot <-
function()
{
trellis.par.set(list(fontsize=list(text=12),
dot.symbol=list(pch=c(1,4), col=c("blue","red")) ))
print(dotplot(product ~ response, groups = scenario, pch=c(1,4),
xlab="", ylab=NULL))
panel.abline(v=0, col="red", reference=FALSE)
}
Help ple...