Re: [R] lattice contourplot background covers inward-facing ticks

2008-11-25 Thread Richard . Cotton
> I wish to have inward-pointing ticks on my contourplot graph, but the > colored background produced by the "region=TRUE" statement covers the > ticks up, is there any way around this? Sample code below. --Seth > > library(lattice) > > model <- function(a,b,c,d,e, f, X1,X2) # provide

Re: [R] lattice contourplot background covers inward-facing ticks

2008-11-24 Thread baptiste auguie
I believe you can simply modify the panel function to replot the axes on top with panel.axis(), library(lattice) model <- function(a,b,c,d,e, f, X1,X2) # provide model function # for contour plot {J <- a + (b*X1) + (c*X2) + (d*X1*X2) + e*(X1^2) + f*(X2^2) pp <- exp(J)/(1+exp(J)) re

[R] lattice contourplot background covers inward-facing ticks

2008-11-24 Thread Seth W Bigelow
I wish to have inward-pointing ticks on my contourplot graph, but the colored background produced by the "region=TRUE" statement covers the ticks up, is there any way around this? Sample code below. --Seth library(lattice) model <- function(a,b,c,d,e, f, X1,X2) # provide model functio