scaling_altitude.Rd
Rescale altitude to a more appropriate range, where 0 if flat and 1 is the globe radius.
scale_bars_altitude(globe, min = 0, max = 0.5) scale_arcs_altitude(globe, min = 0, max = 0.5) scale_labels_altitude(globe, min = 0, max = 0.5) scale_choropleth_altitude(globe, min = 0, max = 0.5) scale_hex_altitude(globe, min = 0, max = 0.5)
globe | An object of class |
---|---|
min, max | Target minimum and maximum values of altitude. |
# basic create_globe() %>% globe_img_url() %>% globe_pov(-21, 179) %>% globe_bars(data = quakes, coords(lat, long, altitude = mag)) %>% scale_bars_altitude()