Attached is a shell script to run a gnuplot command file through 
gnuplot and create an xfig file. This file is then manipulated to 
ensure that all text is marked as "special". Sample usage:

$ gnuplot2fig q8.gnuplot q8.fig
$ cat q8.gnuplot
a=324
b=0.0534
c=10
f(x)=a * exp(-b * x) + c

set xrange [0:100]
set border 3
set xtics nomirror
set ytics nomirror
set nokey
set xlabel "time (min)"
set ylabel "Temperature (C)"

plot f(x)


Would anyone find this useful? Shall I put it in lib/scripts?

-- 
Angus

Attachment: gnuplot2fig.sh
Description: application/shellscript

a=324
b=0.0534
c=10
f(x)=a * exp(-b * x) + c

set xrange [0:100]
set border 3
set xtics nomirror
set ytics nomirror
set nokey
set xlabel "time (min)"
set ylabel "Temperature (C)"

plot f(x)

Reply via email to