Displaying 1 result from an estimated 1 matches for "prettyc".
Did you mean:
pretty
2008 Sep 19
1
Axes Labels on the Right side of lattice panel
...e extreme right hand side of a panel
I followed the example in panel.axis (in this example, the tick marks
are at the same location and labels are the same too)
axis=function(side, ... )
{
ylim <- current.panel.limits()$ylim
if(side=="left"){
prettyC=c(pretty(ylim))
panel.axis(side = side,
at=prettyC,tck=1,text.cex=0.7,outside = TRUE)
}
else if(side=="right"){
prettyC=c(pretty(ylim))
panel.axis(side = side, at=prettyC, tck=1,outside =
TRUE,text.col='grey32',text.cex...