|
From: Allin C. <cot...@wf...> - 2009-06-06 14:30:02
|
On Fri, 5 Jun 2009, Ben Abbott wrote: > However, Petr's suggestion is attractive. That being ... > > - if "pdfcairo" is present => use "set term pdfcairo ..." > - if "pdf" is present => use "set term pdf ..." > - if neither => use "set term postscript ..." and then convert using > ghostscript That's what gretl (gretl.sourceforge.net) does, when calling gnuplot (well, minus the last bit, using gs). I would support making pdfcairo the default pdf terminal (which I think Ethan suggested). That is, if you have both cairo and pdflib support in gnuplot, then set term pdf would do the same as "set term pdfcairo", and you'd have to do, e.g., "set term pdflib" if you wanted pdflib to be used. (But of course if pdflib is supported but cairo is not, then "set term pdf" would be equivalent to "set term pdflib".) Allin Cottrell |