Reply to comment

Getting started with gnuplot

cd "/opt/gnuplot/demo"
load "filename"

plot sin(x)
replot cos(x)


Printing to a PDF file:
set terminal pdf
set output "graph.pdf"
plot [0:100] "file.txt" with lines;
set terminal x11


  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options