# \donttest{
# load an example scan:
data(example_scan)
# print to screen the available scan parameters:
summary(example_scan)
# make ppi for the scan
ppi <- project_as_ppi(example_scan)
# plot the default scan parameter, which is reflectivity "DBZH":
plot(ppi)
# plot the radial velocity parameter:
plot(ppi, param = "VRADH")
# change the range of reflectivities to plot, from -10 to 10 dBZ:
plot(ppi, param = "DBZH", zlim = c(-10, 10))
# change the scale name and colour scheme, using viridis colors:
plot(ppi, param = "DBZH", zlim = c(-10, 10)) + viridis::scale_fill_viridis(name = "dBZ")
# }
Run the code above in your browser using DataLab