search for: pplt

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

Did you mean: plt
2017 Jul 26
2
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
0
[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
0
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
2017 Jul 24
2
axis() after image.plot() does not work except if points() is inserted between
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 1.1666667 > # if you remove this points() function, axis will show nothing. > > points(1.5, 1.5, type="p") > p2 <- par(no.readonly=TRUE) > par("usr")