search for: pplt

Displaying 3 results from an estimated 3 matches for "pplt".

Did you mean: ppl
2017 Jul 26
1
axis() after image.plot() does not work except if points() is inserted between
...ed by hand, axes are not shown. Thanks for the trick about range(). I didn't notice that it has also a na.rm option. It is more elegant. Here is the code showing the various propositions and checks: library(fields) D <- matrix(c(10, 20, 25, 30, 12, 22, 32, 35, 13, 25, 38, 40), nrow=3) (pplt <- par()$plt) #### [1] 0.08844944 0.95469663 0.14253275 0.88541485 # original problem. Axis() not shown image.plot(D, col=rev(heat.colors(128)),bty="n", xlab="Lines", ylab="Columns", cex.lab = 0.5, zlim=range(D, na.rm=TRUE), las=1, axes=FAL...
2017 Jul 28
1
[FORGED] Re: axis() after image.plot() does not work except if points() is inserted between
...for the trick about range(). I didn't notice that it has also a > na.rm option. It is more elegant. > > Here is the code showing the various propositions and checks: > > > library(fields) > D <- matrix(c(10, 20, 25, 30, 12, 22, 32, 35, 13, 25, 38, 40), nrow=3) > (pplt <- par()$plt) > #### [1] 0.08844944 0.95469663 0.14253275 0.88541485 > > # original problem. Axis() not shown > > image.plot(D, col=rev(heat.colors(128)),bty="n", xlab="Lines", > ylab="Columns", cex.lab = 0.5, zlim=range(D, na.rm=TRUE...
2017 Jul 25
1
axis() after image.plot() does not work except if points() is inserted between
>>>>> Marc Girondot via R-help <r-help at r-project.org> >>>>> on Mon, 24 Jul 2017 09:35:06 +0200 writes: > Thanks for the proposition. As you see bellow, par("usr") is the same > before and after the points() (the full code is bellow): > .... >> par("usr") > [1] -0.2500000 1.2500000 -0.1666667