小编Mar*_*ski的帖子

使用VBA破解表密码

我发现这个VBA代码在不知道密码的情况下解锁工作表:

Sub PasswordBreaker()

  Dim i As Integer, j As Integer, k As Integer
  Dim l As Integer, m As Integer, n As Integer
  Dim i1 As Integer, i2 As Integer, i3 As Integer
  Dim i4 As Integer, i5 As Integer, i6 As Integer
  On Error Resume Next
  For i = 65 To 66: For j = 65 To 66: For k = 65 To 66
  For l = 65 To 66: For m = 65 To 66: For i1 = …
Run Code Online (Sandbox Code Playgroud)

excel vba excel-vba

12
推荐指数
2
解决办法
3万
查看次数

使用ggmap绘制OpenStreetMap

我正试图让华沙地区在谷歌地图上绘制它们.使用此代码,其中2536107是OpenStreetMap单个华沙区的关系代码,几乎给了我想要的东西,但有一些错误.有一般大纲,但也有不应连接的点之间的线.我究竟做错了什么?

map <- get_googlemap('warsaw', zoom =10) 
warszawa <- get_osm(relation(2536107), full = T)
warszawa.sp <- as_sp(warszawa, what='lines')
warsawfort <- fortify(warszawa.sp)

mapa_polski <- ggmap(map, extent='device', legend="bottomleft") 
warsawfort2 <- geom_polygon(aes(x = long, y = lat), 
               data = warsawfort, fill="blue", colour="black", 
               alpha=0.0, size = 0.3)

base <- mapa_polski + warsawfort2 
base
Run Code Online (Sandbox Code Playgroud)

编辑:我认为它必须以某种方式与绘制每个点/线的顺序相关联,但我不知道如何解决这个问题.

r openstreetmap ggplot2 ggmap

4
推荐指数
1
解决办法
3740
查看次数

标签 统计

excel ×1

excel-vba ×1

ggmap ×1

ggplot2 ×1

openstreetmap ×1

r ×1

vba ×1