p_line_app {htsr} | R Documentation |
Application of the functions p_line p_line
for plotting lines. The resulting plot
can be saved as .png, .jpg or .pdf files.
p_line_app(
nbst,
rpal = 0,
savefig = FALSE,
width = 8,
height = 6,
fileo = "plot.png"
)
nbst |
Number of time-series to be plotted (default 1) |
rpal |
Color palette settings 0 (default); 1 (mapalette) or 2 (manual) |
savefig |
Save plot as png (default FALSE) |
width |
Plot width (x100 pixels) (default = 8) |
height |
Plot height (x100 pixels) (default = 6) |
fileo |
Name of the plot file including extension (png, jpg or pdf) default = "plot.png") |
The number of time-series to be plotted is limited to 8, with option rpal = 0, 12 otherwise.
If savefig=TRUE, the plot is saved in the working directory. Following the chosen extension, the file is formatted as .png, .jpg or .pdf. The default is "plot.png".
A ggplot2 object.
P. Chevallier - Oct 2017 - Mar 2020
## Not run:
p <- p_line_app(filelist = c(foo1, foo2),pset=TRUE, pfil=TRUE, rpal=1, fileo="plot23.pdf")
## End(Not run)