[Malvern] Condiments of the Seasoning.

Chris Eilbeck chris at hyperspace.org.uk
Sat Dec 24 16:23:56 GMT 2005


On Sat, Dec 24, 2005 at 04:13:16PM +0000, Geoff Bagley wrote:
> Merry Xmas.

Have a good one everyone!

> P.S.  Anyone written any prog to plot mathematical graphs using
> Postscript?

Use Gnuplot.  By default it will draw graphs to an X11 display but you can
generate jpeg or postscript output easily too by issuing commands such
as

	set terminal postscript solid color
	set output 'graph.ps'
	plot 'whatever'

Type help set terminal for the options.

You can script the commands too and invoke them using load 'script.gp' or by
just calling it from the command line.

Gnuplot is fab.  I use it a lot.

Enjoy!

Chris
-- 
Chris Eilbeck
MARS Flight Crew                              http://www.mars.org.uk/
UKRA #1108 Level 2                                                UYB
Tripoli UK Member #9527                                          LSMR



More information about the Malvern mailing list