plot.airshedC: Create Plots for HYSPLIT-derived Composite Seasonal Airshed

Description Usage Arguments Examples

View source: R/plot.airshedC.R

Description

Create plot for composite seasonal airshed for a given point location

Usage

1
2
3
4
plot.airshedC(loc, lon, lat, season_name, borderName="ne_10m_admin_0_countries",
   x.adj=FALSE, zoom=4.5, x.just=0, y.just=0, nKM=150, col.adj=c(0,0,0,0),
   scale.adj=c(0,0), caption=NA ,caption.adj=c(0,0),
   nYrs.adj=c(0,0), legend.adj=c(0,0), txt_size=0.75, ...)

Arguments

loc

character. Name of location, starting point, used in naming subdirectories and files

lon

numeric. Longitude of starting point

lat

numeric. Latitude of starting point

season_name

character. Name of season, used in the names of the output folder and file

borderName

character. Name of shapefile located in the "shapefiles" folder of project home directory to plot country/sub-country borders [default is "ne_10m_admin_0_countries"]

x.adj

logical. Adjust x axis latitude to 0-360? [default is FALSE] (-180 to 180)

zoom

numeric. Window of the plot, in degrees, from the lon, lat of the starting location in all 4 directions [default is 4.5]

x.just

numeric. Adjust window laterally, positive is right and negative is left [default is 0]

y.just

numeric. Adjust window vertically, positive is right and negative is left [default is 0]

nKM

numeric. Length of scale bar, in kilometers [default is 150]

col.adj

numeric vector, length=4. Adjust color bar position/size (format is c(x.min, x.max, y.min, y.max) adjustment) [default is c(0,0,0,0)]

scale.adj

numeric vector, length=2. Adjust scale bar position (format is c(x, y) adjustment), [default is c(0,0)]

caption

character or expression. Name of caption, [default is NA], which is no caption

caption.adj

numeric vector, length=2. Adjust caption position (format is c(x, y) adjustment) [default is c(0,0)]

nYrs.adj

numeric vector, length=2. Adjust number of years label position (format is c(x, y) adjustment) [default is c(0,0)]

legend.adj

numeric vector, length=2. Adjust legend position (format is c(x, y) adjustment), [default is c(0,0)]

txt_size

numeric. Adjust text size of plot labels, based on size of axis tick labels [default is 0.75]

...

see global arguments: pointDir, ask_home

Examples

1
2
#creates plot for composite winter delhi airshed for 2007-2013
plot.airshedC(loc="delhi",lon=77.2090,lat=28.6139,x.just=2,y.just=-2,caption="Delhi Winter Composite Airshed \nOct-Nov")

tianjialiu/HyAirshed-RPackage documentation built on Sept. 24, 2020, 5:13 a.m.