Description Usage Arguments Examples
View source: R/plot.airshedC.R
Create plot for composite seasonal airshed for a given point location
1 2 3 4 |
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 |
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")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.