Mojca Miklavec wrote:
I use gnuplot which makes graphs of superb visual quality and has extensive support for many different function manipulations and weird stuff that you want to do with it. I do something like:
set terminal latex set output "file.tex" set title '\bf My wonderful function $sin(\omega t)$' set xlabel '$t\ \rm[s]$' set ylabel '$A$' plot sin(x)
and then "\input file" inside of the main LaTeX file. Gnuplot cannot make output in ConTeXt (yet), but perhaps you can include the resulting PDFs in your ConTeXt source. (Gnuplot is one of the very few examples where I still use LaTeX.) You can also output the (ConTeXt-friendly) metapost (with set terminal), but you lose on quality.
gnuplot is great indeed, but the output is rather large; it would be nice if there was a real good output mode (say, comparable to the output produced by metapost: compact, parsable); btw, is it really that difficult to use gnuplot output in context? Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------