views:

422

answers:

1

Don't know if it's a question for stackoverflow or superuser, but the beta SU community is still too small for such specific questions, I guess. Feel free to redirect it if you see it fit.

I am trying to setup gnuplot so that at startup I always have the comma as datafile separator, with the following command

set datafile separator ","

unfortunately, it looks like there's no concept of a ".gnuplotrc" in gnuplot (at least, I didn't find anything in the man page, and I don't have strace on this machine, so I cannot see by myself). I am tired of typing the command every time I fire up gnuplot. Does anybody have a good solution for this ?

NB: load does not solve, I would still have to type the load command.

+3  A: 

In fact, there is a gnuplot startup file: it's called .gnuplot, and should do exactly what you want. For details, try running help start-up within an interactive gnuplot session.

http://www.gnuplot.info/docs/node51.html

Matt Ball
Thanks! works like a charm!
Stefano Borini
A little Googling (and prior experience) goes a long way ;-)
Matt Ball