Gnuplot Random Example

Gnuplot data whatever.dat
  0.0000000000000000E+00   4.7909568685725046E-02
  1.9634954084936207E-01   4.7968249689847031E-02
  3.9269908169872414E-01   4.7943759031733590E-02
  5.8904862254808621E-01   4.8005944772810782E-02
  7.8539816339744828E-01   4.8105501496767400E-02
  9.8174770424681035E-01   4.8004768955687893E-02
  1.1780972450961724E+00   4.7942772481461726E-02
  1.3744467859455345E+00   4.7966670712059178E-02
  1.5707963267948966E+00   4.7905752015412806E-02
  1.7671458676442586E+00   4.7985883450737898E-02
  1.9634954084936207E+00   4.7962278105395828E-02
  2.1598449493429825E+00   4.8034473039392289E-02
  2.3561944901923448E+00   4.8062093578083886E-02
  2.5525440310417071E+00   4.8003781551272384E-02
  2.7488935718910690E+00   4.7971042897370197E-02
  2.9452431127404308E+00   4.7861939877618664E-02
  3.1415926535897931E+00   4.7895948767249841E-02

Gnuplot file whatever.gnu
set title 'Random Plot '
set xlabel 'X'
set ylabel 'Y'
#set terminal postscript'
#set output 'whatever.ps'
plot 'whatever.dat' u 1:2 w lines

To run:
> gnuplot
gnuplot> load 'whatever.gnu'
gnuplot>quit

of if you have want help
gnuplot> ?

Note, any of hte commands can be entered at the command line