powered by
Convert degrees to pixels for machine 'machine'
degTopix(xy, machine = "compass")
xy converted to pixels (top-left is (0,0)) for the machine or NA if machine is unknown
NA
a 2 element vector c(x,y) where x and y are in pixels
"compass" or ...?
degTopix(c(0, 0), machine="compass") # c(960, 960) pixels degTopix(c(-15, 2)) # c(495, 898) pixels
Run the code above in your browser using DataLab