If the x vector has a gap, then image() fills in those spots using the z
value of the nearest x value. I had expected it to just leave those spaces
blank though.

For example
x=c(1:5,100:105)
y=c(1:10)
z=matrix(rnorm(100),10,10)
image(x,y,z)

I expected that to produce a figure with a wide vertical gap between x=5 and
x=100.

Is this the correct behavior? Could there be an option added to choose
between these two behaviors? Either way, it should be stated in the
documentation.

Justin

        [[alternative HTML version deleted]]

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to