geom_psd: Plot the time series of particle size distribution.

View source: R/geom_psd.R

geom_psdR Documentation

Plot the time series of particle size distribution.

Description

Plot the time series of particle size distribution.

Usage

geom_psd(
  df,
  labxyl = NULL,
  logy = TRUE,
  ybk = NULL,
  nlmt = NULL,
  csbk = pretty_breaks(4),
  trans = "identity",
  colsz = 1,
  fsz = 13,
  lsz = 0.4,
  tkl = 0.2
)

Arguments

df

dataframe of particle size data: the first column of input is datetime; the other columns are number concentration (N, unit: #/cm3) or log number concentration (dN/dlogdp, unit: #/cm3) for each particle size channel. Column names of the other columns are the middle particle size for each particle size channel.

labxyl

vector, Set the title of x axis, y axis, legend. The default vaule is NULL. Bquote grammer is accepted.

logy

logical. Plot the data with log y axis. The default vaule is TRUE.

ybk

numeric vector, breaks of y axis.

nlmt

numeric value, range of particle number for colorscales of plot.

csbk

numeric vector, breaks of color bar.

trans

character string, "identity" or "log10". transformation of color bar breaks.

colsz

numeric value, size of columns in plot.

fsz

font size in plot.

lsz

line size of panel border and axis in plot.

tkl

tick length in plot.

Value

a plot for the time series of particle size distribution.

Examples

## Not run:  
dn_table = read.delim(system.file("extdata", "smps.txt", package = "foqat"),
check.names = FALSE)
dn1_table=dn_table[,c(1,5:148)]
dn1_table[,1]=as.POSIXct(dn1_table[,1], format="%m/%d/%Y %H:%M:%S", tz="GMT")
geom_psd(dn1_table,fsz=10)

## End(Not run)

GlossyBoat/foqat documentation built on Oct. 3, 2023, 1:27 p.m.