Skip to content

Commit

Permalink
fix bug on color on plot speed
Browse files Browse the repository at this point in the history
  • Loading branch information
schuch666 committed Jul 13, 2023
1 parent 5e7d19a commit 3f48901
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/Speed.R
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ plot.Speed <- function(x,
z = t(as.matrix(x))[, nrow(x):1],
xlab = "",
ylab = paste0("Speed by streets [",as.character(units(x[[1]])), "]"),
col = col,
col = rev(col),
axe = FALSE)
axis(2)
addscale(t(as.matrix(x))[, nrow(x):1], col = col)
Expand Down

0 comments on commit 3f48901

Please sign in to comment.