When gnuplot is run, it first looks for a system-wide initialization file gnuplotrc
. The location of this file is determined when the program is built and is reported by show loadpath
. The program then looks in the user's HOME directory for a file called .gnuplot
on Unix-like systems or GNUPLOT.INI
on other systems. (OS/2 will look for it in the directory named in the environment variable GNUPLOT
; Windows will use APPDATA
). Note: The program can be configured to look first in the current directory, but this is not recommended because it is bad security practice.
Copyright 1986 - 1993, 1998, 2004 Thomas Williams, Colin Kelley
Distributed under the gnuplot license (rights to distribute modified versions are withheld).