Learn R Programming

Rgnuplot (version 1.0.3)

Gpmatrix2XYdata: Converting a file to X, Y format

Description

Gpmatrix2XYdata converts a file with data in matrix format to an X, Y format readable by gnuplot

Usage

Gpmatrix2XYdata(fileName1,fileName2,optMatrix=NA,surfacegrid=FALSE,overwrite=TRUE)

Arguments

fileName1
file with data in matrix format
fileName2
file to save the data in X, Y format
optMatrix
optional matrix to add to the output file's 4th data column
surfacegrid
if TRUE then the data is in grid format
overwrite
if set to TRUE then it will overwrite an existing file without warning

Value

See Also

Gpinit