Learn R Programming

iWISA (version 1.0-2)

sqplot: Plot of Non-constant Solar Quiet Daily Variation

Description

This function visualizes the estimated non-constant solar quiet daily variation of each station. Users would define how many graphs to be put into one page, The default set is 2 graphs per page.

Usage

sqplot(x, start = NULL, end = NULL, n.station = NULL, graphs.per.page = 2, station.names = NULL, Title = NULL, ...)

Arguments

x
estimation of solar quite variations from SQ
start
start date of records for magnetic activities. See examples
end
end date of records for magnetic activities. See examples
n.station
number of studied stations
graphs.per.page
how many graphs combined in one plot page. Default number is 2
station.names
NULL (indicating no station names) or a vector strings for station names.
Title
title of sqplot
...
additional arguments

Details

This function is used to visualize estimated Sq variation. Specifying the names of each stations would add station names at y-axis.

See Also

SQ

Examples

Run this code
## data sets.

## Colatitude and longitude of geomagnetic observatories.
## Not run: 
# coord=matrix(c(124.43, 19.23, 53.77,140.18,68.68,202.00,71.89,293.85),nrow=2,ncol=4)
# 
# 
# ## Estimation of SI index
# index.sample<- SAIndex(record, coord, wf="la8")
# si.v<-index.sample$SI
# 
# 
# ## generate datetime for one week period
# start.date="2001-3-1"
# end.date="2001-4-30"
# 
# ## estimation of sq
# Sq<- SQ (datasq, si.v=si.v, wf = "la8")
# 
# sqplot(Sq, Title="Sq variation", start = start.date, end=end.date, n.station=4,
#       graphs.per.page=2, station.names=c("ABG","PHU","TUC","FRD"))
# ## End(Not run)

Run the code above in your browser using DataLab