Merge remote-tracking branch 'upstream/master' into develop
Merge remote-tracking branch 'upstream/develop' into develop
Merge remote-tracking branch 'upstream/develop' into develop
Merge remote-tracking branch 'upstream/develop' into develop
drawPalette(): prelim support for 'fullpage' arg

par(mar=c(3, 3, 1, 0)); d<-0.15;source('R/imagep.R');
layout(matrix(1:2,nrow=1),widths=c(1-d,d));plot(1:3,1:3);drawPalette(1:1
0,fullpage=TRUE,debug=3)
fix doc error
drawPalette() improvements (see doc for testcase)
imagep() and drawPalette(): new arg drawPaletteTriangles

e.g.

    library(oce)
    drawPalette(1:2, drawPaletteTriangles=TRUE)
image palette aesthetic improvement [issue 301]
binAverage() bugfix [issue 304]
approx3d() added
approx3d(): correct error in indexing
approx3d(): doc improvements
plot(adv, ylim=...) bug fix [issue 306]
fix 307
plotProfile() can now show theta
possibly fix issue 308
imagep(): new arg  'clipz'

This is in preparation for work on issue 309
mapImage(): do not clip z by default
imagep(): draw palette triangles if zclip=TRUE

Test code below

    library(oce)
    m <- matrix(1:100, nrow=10)
    par(mfrow=c(1,2))
    imagep(m)
    imagep(m, zclip=TRUE)