Displaying 1 result from an estimated 1 matches for "prettyf".
Did you mean:
pretty
2012 Mar 16
2
Changing axis labels depending on panel in lattice
...he scales of the red line. Since
the scales depend on the panel, all i need to know
is which panel i'm in.)
Im using ,axis=axis.PCT in xyplot and right now
axis.PCT<-
function(side, ...)
{
ylim <- current.panel.limits()$ylim
switch(side,
left = {
prettyF <- pretty(ylim)
panel.axis(side = side, outside = TRUE,text.cex=0.5,rot=0,
at = prettyF, labels = prettyF)
},
axis.default(side = side, ...))
Is there anything i can do get the information regarding the panel i'm in?
Regards
Sa...