Displaying 3 results from an estimated 3 matches for "fullhatch".
2011 Dec 02
1
Plot and polygon in log scale
...ing is done in regular scale. It does not seem
to work in 'log' scale. Any suggestions would be highly appreciated!
below is an example:
plot(1:10,c(1:10)^2*20,log="y")
polygon(c(3:7,7:3),c((3:7)^2*20,c(7:3)^2*10),col='grey',angle=45,dens=30)
Warning message:
In polygon.fullhatch(xy$x[start:(end - 1)], xy$y[start:(end - 1)], :
cannot hatch with logarithmic scale active
Regards,
Santosh
[[alternative HTML version deleted]]
2010 Apr 29
1
Request - adding recycled "lwd" parameter to polygon
...0 + xd * tsort
ly <- y0 + yd * tsort
lx1 <- lx[-length(lx)][drawline]
ly1 <- ly[-length(ly)][drawline]
lx2 <- lx[-1L][drawline]
ly2 <- ly[-1L][drawline]
segments(lx1, ly1, lx2, ly2, ...)
}
polygon.fullhatch <- function(x, y, density, angle, ..debug.hatch =
FALSE,
...) {
x <- c(x, x[1L])
y <- c(y, y[1L])
angle <- angle%%180
if (par("xlog") || par("ylog")) {
warning("cannot hatch with logarit...
2010 Apr 29
1
Request - adding recycled "lwd" parameter to polygon
...0 + xd * tsort
ly <- y0 + yd * tsort
lx1 <- lx[-length(lx)][drawline]
ly1 <- ly[-length(ly)][drawline]
lx2 <- lx[-1L][drawline]
ly2 <- ly[-1L][drawline]
segments(lx1, ly1, lx2, ly2, ...)
}
polygon.fullhatch <- function(x, y, density, angle, ..debug.hatch =
FALSE,
...) {
x <- c(x, x[1L])
y <- c(y, y[1L])
angle <- angle%%180
if (par("xlog") || par("ylog")) {
warning("cannot hatch with logarit...