# PLOT ONE FILE
file <- system.file("xvg-files/epot.xvg",package="Peptides")
plot.xvg(file)
# PLOTTING MULTIPLE FILES
POPG <- system.file("xvg-files/POPG.xvg",package="Peptides")
POPE <- system.file("xvg-files/POPE.xvg",package="Peptides")
POPC <- system.file("xvg-files/POPC.xvg",package="Peptides")
par(mfcol=c(1,3))
plot.xvg(POPG)
plot.xvg(POPE)
plot.xvg(POPC)
Run the code above in your browser using DataLab