Learn R Programming

Rgnuplot (version 1.0.3)

Gpsetfontpath: Set gnuplot's additional directories, for fonts

Description

Gpsetfontpath set gnuplot's additional directories, for fonts, default path = extdata directory from Rgnuplot

Usage

Gpsetfontpath(handle,fontpath)

Arguments

handle
handle to the connection
fontpath
string with gnuplot's additional directories, for fonts

Value

See Also

Gpinit

Examples

Run this code
#Initialize the gnuplot handle
h1<-Gpinit()
## Not run: 
# #set gnuplot's additional search directories for fonts, to the extdata 
# #directory from Rgnuplot (default)
# Gpsetfontpath(h1)
# #get gnuplot's additional search directories for fonts
# Gpgetfontpath(h1)
# ## End(Not run)
#close gnuplot handle
h1<-Gpclose(h1)

Run the code above in your browser using DataLab