On Sat, 12 Jun 2010 08:23:44 -0700, "Eric Schulte" wrote: > > Eric S Fraga writes: > > > On Fri, 11 Jun 2010 13:35:52 -0700, "Eric Schulte" wrote: > > > > [...] > > > >> WRT: the ugliness of gnuplot to file, I've wrestled with this myself and > >> I know exactly what you mean. Currently I try to use svg or png images > >> when exporting to html, and for pdf I use the gnuplot tikz terminal [2]. > > > > John & Eric, > > > > Another approach, which I use and which doesn't require using the > > development version of gnuplot for the tikz support, is to generate > > encapsulated postscript files: > > > > set terminal postscript eps enhanced 20 > > set output "graph.eps" > > > > Thanks! > > I just tried the above (well technically the below [1]) and it does look > great and scales well. It's nice to have a light-weight alternative to > tikz -- a great addition to my plotting toolbox. > > Best -- Eric [...] > Footnotes: > [1] > --8<---------------cut here---------------start------------->8--- > #+begin_src gnuplot > set terminal postscript eps enhanced 20 color > set output "~/Desktop/graph.eps" > set isosample 30,30 > set title 'bumpy' > set xrange[-4:4] > set yrange[-4:4] > splot sin(x) + sin(y) notitle > #+end_src > --8<---------------cut here---------------end--------------->8--- > > You're very welcome. I use a number of methods to generate graphs and diagrams and gnuplot is definitely one of my favourites. For the adventurous, there's a great blog: http://gnuplot-tricks.blogspot.com/ Put gnuplot together with org-mode and org-babel and it's yet another piece in the puzzle that leads to an incredibly powerful desktop analysis and publishing system!