pd_image()
makes a spatial image plot of the specified prism
data (single variable and time step.). It is meant for rapid visualization,
but more detailed plots will require other methods.
prism_image()
is the deprecated version of pd_image()
.
Arguments
- pd, prismfile
the name of a single file to be plotted, this is most easily found through
prism_archive_ls()
orprism_archive_subset()
.- col
the color pattern to use. The default is heat, the other valid option is "redblue".
Examples
if (FALSE) { # \dontrun{
get_prism_dailys(
type = "tmean",
minDate = "2013-06-01",
maxDate = "2013-06-14",
keepZip = FALSE
)
# get June 5th
pd <- prism_archive_subset("tmean", "daily", dates = "2013-06-05")
# and plot it
pd_image(pd)
} # }